summaryrefslogtreecommitdiff
path: root/cleopatre
AgeCommit message (Collapse)Author
2012-11-29cleo/Makefile: binaries are generated using buildroot, closes #3257Olivier Dufour
2012-11-29cleo/buildroot/package: create a separated package for plcd, closes #3259Olivier Dufour
2012-11-29cleo/Makefile: remove EoC rules in bundle, closes #3481Olivier Dufour
2012-11-29cleo/devkit/plcdrv: add proc entry to disable QoS, closes #3527Nicolas Schodet
2012-11-29cleopatre/devkit/plcdrv: fix proc entries modesNicolas Schodet
2012-11-29cleo/Makefile: fix libmme compilation error in bundle, closes #3475Olivier Dufour
2012-11-21cleo: copy required files to generate bundle, closes #3452Jérémy Dufour
2012-11-21cleo/uboot: add support for SPC200C archi in spidupdate MME, refs #3452Jérémy Dufour
2012-11-21cleo/uboot: use new spidcom image descriptor in spid{boot,update}, refs #3452Jérémy Dufour
This commit uses the new spidcom image descriptor format. It also adds support for the SPC200C (arch, version). It also adds a sanity check in spidboot to return an error if the image is invalid (rather than ignoring it).
2012-11-21cleo/u-boot: remove non maintained code from spidboot, refs #3452Jérémy Dufour
2012-11-21cleo/tools/spidup: add support for common image descriptor, refs #3452Jérémy Dufour
2012-11-21common/tools/mksimage: generate 200 and 300 image descriptor, refs #3452Jérémy Dufour
mksimage is now able to generate image descriptor for 200 or 300 boards.
2012-11-21common: move spid_img_desc.h to common/include, refs #3452Jérémy Dufour
spid_img_desc.h header is used by the kernel and other applications: it is more suitable to have it in common include directory.
2012-11-21{common, cleo/linux/scripts}: move mksimage from linux to common, refs #3452Jérémy Dufour
In order to have a common mksimage between SPC300 and MSE500-200, we move mksimage to common and replace it by a symbolic link.
2012-11-06cleo/arch/arm/spc300: Add support of eth2 for MSE500, closes #3413Olivier Dufour
2012-11-06cleo/uboot/cpu/spc300: increase ICP and IBias current for PPLL, closes #3433Cyril Jourdan
2012-11-06cleo/tools/openocd: Add MSE500 in gen_ocd_config, closes #3417Olivier Dufour
gen_ocd_config supports now MSE500 board
2012-11-06cleo/linux/drv/eth: don't netif_wake_queue() on link upYacine Belkadi
In the Synop3504 Ethernet driver, there is no reason to wake the queue on link up, because it's already started on open() and it's not stopped on link down.
2012-11-06cleo/linux/drv/eth: don't txdesc_reset() on link up, refs #3195, (ind.) ↵Yacine Belkadi
closes #3439 In the Synop3504 Ethernet driver, the Tx descriptors were reset on link up. That's not necessary because the MAC TxDMA will process (fetch and close) the Tx descriptors even if the link is down. So letting the normal process happen will take care of the pending descriptors. This Tx descriptor reset already caused problems when it was performed on link_down. It was then moved to link up. In link up, this reset is one of the causes of #3439*. So removing the reset of the Tx descriptors on link up also indirectly closes the ticket #3439. *#3439 is a kernel oops that happens when booting in "single mode" on a board with an IP75D PHY: The IP175D driver declares its readiness to the Linux PHY Layer in a particular way, probably to skip the Auto-Negotiation step. As a consequence, the PHY layer may call the Ethernet driver's adjust_link() before it's ready (before phy_start() is called). In other words, adjust_link() may be called before the driver has initialized the descriptors. If that happens, the Ethernet driver touches the uninitialized Tx descriptors, and a kernel oops occurs. The problem is visible in single mode because the eth interface is not brought up. So synop3504_open() is not run. So the Tx descriptors are not already initialized when the PHY layer calls synop3504_handle_link_change() which calls txdesc_reset(), which causes a kernel oops.
2012-11-06cleo/linux/drv/eth: don't netif_carrier_{on|off}() on link change, closes #3254Yacine Belkadi
In the Synop3504 Ethernet driver, it is not necessary to call netif_carrier_{on,off}() on link up/down, because the PHY layer already takes care of that before calling the driver's link change handler. More precisely, in linux/drivers/net/phy.c, phy_state_machine() calls netif_carrier_{on|off}() before calling phydev->adjust_link().
2012-11-06cleo/uboot/inc/configs: suppress LINUX_MEM_WORKAROUND, closes #2842Cyril Jourdan
This reverts commit 9f66174fd8adf4fdc7025e811550402e966e6cd4. This workaround is no more needed, now that vmalloc area size has been corrected. /!\ From this commit, and for MSE500 and MSE500DINI chips, u-boot is no more compatible with linux images from the previous commits!
2012-11-06cleo/linux/inc/asm/arch/spc300: change VMALLOC_END value, refs #2842Cyril Jourdan
VMALLOC_START depends on the actual SDRAM size. VMALLOC_END is a constant and its value was the same than VMALLOC_START, considering the use of a SDRAM bigger than 32Mb. That made the virtual addressable space null... The size between VMALLOC_START and VMALLOC_END can be more than SDRAM size, it is not a problem. We just have to be careful about the fact that vmalloc space does not overlap on other areas that we could have reserved (for IO or PLC code, for example). Actually, virtual memory starts to be reserved from 0xEF000000. That is why we chose this new value: it is high enough to allow us to use bigger SDRAMs and low enough to reserve virtual memory space for other potential applications.
2012-11-06cleo/linux/inc/asm/arch/spc300: remove unnecessary defines, refs #2842Cyril Jourdan
VMALLOC_VMADDR is not used on our architecture. VMALLOC_OFFSET and VMALLOC_START are automatically defined by Linux, with exactly the same values.
2012-11-06cleo/buildroot/target/device/Spidcom/mse500: fix linux26 config, refs #3445Cyril Jourdan
2012-10-31cleo/{linux, openocd}: add support for w25q64 flash, closes #3447Jean-Philippe SAVE
2012-10-31cleo/{linux, openocd}: suppress duplicated JEDEC info on flashs, closes #3446Jean-Philippe SAVE
The winbond flash w25q32 is declared twice.
2012-10-23cleo/uboot: use common watchdog API, closes #3296Jérémy Dufour
Changes introduced by commit 170f07194643 should have been reported to uboot too.
2012-10-22cleo/app/libmme: Give the correct ctx to mme_oui_check, refs #3381Olivier Dufour
2012-10-19cleo/linux/driver/net/arm/synop3504: flush MIU only on MSE500, closes #3408Jean-Philippe SAVE
2012-10-19{cesar, cleo}/ipmbox: adapt init after moving DATA on RAM, closes #3441Jean-Philippe SAVE
- Change queues initialisation: now, all queues head and tail pointers are respectively set by plcdrv at the begining and end of there areas. Cesar just have, for all queues, to set the tail pointer at head pointer. - Unitary tests have also been updating.
2012-10-18cleo/buildroot: by default compress vmlinux in XZ, closes #3204Jérémy Dufour
This makes all linux config for each devices using the XZ method for compressing/uncompressing a vmlinux kernel.
2012-10-18cleo/linux/{arm/boot,lib}: use XZ decompression in build/config, refs #3204Jérémy Dufour
The new XZ method is now available to compress/uncompress the kernel.
2012-10-18cleo/linux/lib: import XZ decompression method from upstream, refs #3204Jérémy Dufour
This commit import files from upstream kernel (tags/v3.4).
2012-10-18cleo/linux/scripts: import xzkern to build xz compressed image, refs #3204Jérémy Dufour
2012-10-18cleo/linux/script: import size_append function from upstream, refs #3204Jérémy Dufour
The size_append function is import from kernel upstream (tags/v3.4).
2012-10-18cleo/linux/lib: integrate xz library in the build system, refs #3204Jérémy Dufour
2012-10-18cleo/linux/lib/xz: adapt xz library to our linux, refs #3204Jérémy Dufour
2012-10-18cleo/linux/lib: import xz library from upstream (tags/v3.4), refs #3204Jérémy Dufour
2012-10-18cleo/linux/arm/boot: adapt head.S for our architecture, refs #3204Jérémy Dufour
2012-10-18cleo/linux/arm/boot: import head.S from upstream, refs #3204Jérémy Dufour
2012-10-18cleo/linux/arm: import unified assembler syntax helper header, refs #3204Jérémy Dufour
This will be needed for future usage. The file is coming from upstream kernel (tags/v3.4)
2012-10-18cleo/linux/arm/boot: use zlib_inflate method instead of gzip, refs #3204Jérémy Dufour
At this stage, we are building and uncompressing a gziped kernel using the upstream method. This commit replace the function decompress_kernel with the one from upstream (tags/v3.4). It also removes unneeded gzip code: the code present in was using an old method.
2012-10-18cleo/linux/arm/boot: build some maths functions for vmlinux, refs #3204Jérémy Dufour
This will be needed for the new inflate (gzip) implementation and xz compression method.
2012-10-18cleo/linux/arm: use modular compression method at boot, refs #3204Jérémy Dufour
This commit still uses the old gzip method we are using but in a more configurable fashion method.
2012-10-18cleo/linux/arm: integrate new string lib into build, refs #3204Jérémy Dufour
Some functions are duplicated, so we remove the ones not in the string library.
2012-10-18cleo/linux/arm: import string.c from upstream, refs #3204Jérémy Dufour
This commit add some simple string functions, imported from upstream kernel (tags/v3.4), which will be needed for next commits.
2012-10-18cleo/linux/arm: remove unsupported decompression method, refs #3204Jérémy Dufour
2012-10-18cleo/linux/arm: import boot decompression method from upstream, refs #3204Jérémy Dufour
This commit import new decompression code from upstream kernel (tags/v3.4) without any modifications: it is a generic mechanism to decompress the kernel using a method defined by the kernel config.
2012-10-18cleo/linux/lib/zlib_inflate: protect headers, refs #3204Jérémy Dufour
This changes were partially done in the upstream kernel (tags/v3.4). Even if they are not required for our implementation, it won't hurt and prevent a lot of time lost to debug kernel include errors.
2012-10-18cleo/linux: remove unsupported compression methods, refs #3204Jérémy Dufour