summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-01-30{common,polux}: do not use pointers in NVRAM structure, closes #3709Jérémy Dufour
Pointer size differs between 32 and 64 bits architecture. Building an NVRAM using genNVRAM built with a 64 bits PC generates a non compatible NVRAM for the boards. Removing the pointers make the NVRAM architecture independent.
2013-01-30common/tools/genNVRAM: use the same mechanism to read arguments, refs #3709Jérémy Dufour
Other functions to get the image offset use the strtoul function rather atoi. Also changes indentation to match the other functions.
2013-01-30common/include/asm/arch: use uintptr_t for arithmetic pointers, refs #3709Jérémy Dufour
This method is compatible between 32 and 64 bits architecture.
2013-01-30common/include/asm/arch: harmonize pointers arithmetic in nvram, refs #3709Jérémy Dufour
2013-01-30common/tools/genNVRAM: fix compilation warning, refs #3709Jérémy Dufour
This commit also add the "-Wall" CFLAGS to show warning.
2013-01-30common/include/asm/arch: add a sanity check for NVRAM size, refs #3709Jérémy Dufour
This commit add a sanity check which will be triggered if the sizeof of the NVRAM structure does not match the expected one: this can occur if the sizeof of some fields added to the structure changes depending on the architecture (pointers for example).
2013-01-29cleo/linux/spc300: minor refactoring in spc300-pm.c, no refsCyril Jourdan
2013-01-29cleo/linux/spc300: remove #if CHIP_FEATURE_SRAM in spc300-pm.c, closes #3704Cyril Jourdan
2013-01-29polux/linux/include: include spc300-atag.h only for mse500, refs #3706Olivier Dufour
2013-01-25cleo/uboot: fix includes in cmd_spidboot, refs #1325Olivier Dufour
2013-01-25polux/app/spidlib: get img slot from procfs, closes #3706Olivier Dufour
2013-01-25polux/linux/mse500: add current image slot in procfs, refs #3706Olivier Dufour
2013-01-25cleo/app/libspid: get img slot from procfs, refs #3706Olivier Dufour
2013-01-25cleo/linux/spc300: add current image slot in procfs, refs #3706Olivier Dufour
2013-01-25{polux, cleo, uboot}: add current image slot in ATAG, refs #3706Olivier Dufour
2013-01-25{cleo, polux, uboot}: use common structure for spc300 ATAG, refs #3706Olivier Dufour
2013-01-25polux/linux/mse500: fix "Ignoring unrecognised tag 0x00000000", refs #3650Olivier Dufour
Port of cleopatre bug fix. See f2f767a90046d6272d4db3a71e9b34dd9416aed5
2013-01-25cleo/uboot/spidboot: set UART baud divisor, closes #1325Olivier Dufour
If the System PLL was modified, u-boot needs to set the UART baud divisor accordingly to have a full display of linux boot sequence on serial console.
2013-01-25cleo/uboot/cpu/spc300: split serial setbrg, refs #1325Olivier Dufour
2013-01-25cleo/uboot/spidboot: configure PLL before boot, refs #1325Olivier Dufour
As the speed of the Systemp PLL is stored in the image header, u-boot needs to set it before booting linux. The default value is used to initialize the hardware, and the final value is written just before boot.
2013-01-25common/tools/mksimage: write clocks speed in header, refs #1325Olivier Dufour
2013-01-25common/include: add clock speed in image header, refs #1325Olivier Dufour
System clock value is stored in the image header.
2013-01-25polux/linux/mse500: add SET_CLK config, refs #1325Olivier Dufour
2013-01-25cleo/linux/arch/arm/spc300: add config to set CLK speed, refs #1325Olivier Dufour
For MSE500 boards, the speed of SYSCLK is defined by CONFIG_SYSCLK_SPEED, and is set at 246MHz by default.
2013-01-25Revert "{cleo/uboot,common}: change system clock speed to 222 MHz", refs #1325Olivier Dufour
This reverts commit d2f7768afa5bbe4c4a40e9697a8939600a7e4a82.
2013-01-25common/tools/genNVRAM: add a message for unrecognized option in conf file, ↵Thierry Carré
closes #3678
2013-01-25polux/linux/arch/arm/{mse500-200, 200c}: gpio_write less restrictive, closes ↵Thierry Carré
#3687 'gpio_write' function on linux-2.6.10, have the same behavior as 'spc300_gpio_set_value function' in linux-2.6.25.
2013-01-25polux/linux/arch/arm/mse500: unlock gpio from 8 to 15, closes #3689Thierry Carré
2013-01-25{cleo,polux}: use a common gitignore for include/asm/arch, refs #3677Jérémy Dufour
2013-01-25cleo/uboot: move spid_img_desc.h to the root of include dir, refs #3677Jérémy Dufour
In order to prepare a common gitignore for the "include/asm/arch" directories, it is easier if they look the same. On top of that, spid_img_desc.h should be stored at the base of the include directory, like in other project (polux, cleopatre/linux).
2013-01-24common/include: improve header_version comments of spid_img_desc, closes #3708Jérémy Dufour
2013-01-21cleo/u-boot/include/asm/arch: ignore copied files, refs #3677Jérémy Dufour
This was missing from commit 01876e9a39f7. At the moment, I did not find a better solution to have a common gitignore for the directories include/asm-arm/arch-spc300/ from cleopatre and u-boot.
2013-01-18polux/devkit/plc-polux/mac: add a missing clear the interrupt, closes #3574Nélio Laranjeiro
2013-01-18polux/linux/drivers/net/synop3504: move MIU synchro, refs #3574Nélio Laranjeiro
Checking that the DMA Ethernet has flushed its MIU before the loop is enough. This allows to avoid a high latency while the DMA continues processing frames.
2013-01-18polux/linux/drivers/net/synop3504: optimise reception, refs #3574Nélio Laranjeiro
When no SKBuff is available set the budget to 0 to allow the poll loop to leave.
2013-01-18polux/linux/net/core: set Ethernet budget to 32, refs #3574Nélio Laranjeiro
Decrease budget from 300 to 32.
2013-01-18polux/linux/inc/asm-arm/arch-mse500: remove GIC prio level mask, closes #3574Nélio Laranjeiro
RTAI schedules under IRQ so it is necessary to unmask all interrupt from the GIC.
2013-01-18{common,cleo,polux}: split entry-macro.S, refs #3574Nélio Laranjeiro
2013-01-18cesar/ce/rx/test: fix test init, closes #2366Cyril Jourdan
2013-01-18cesar/test_general/station/tonemap: correct vs_get_tonemap test, refs #2366Cyril Jourdan
Parse of interval data was incorrect so the test fails when intervals are activated.
2013-01-18cesar/ce/rx/bl/fsm: remove useless transition, refs #2366Cyril Jourdan
2013-01-18cesar/ce/rx/bl: keep measure of the frames before beacon period, refs #2362Jalil Chemseddine
For frames crossing the beacon period, the receiver sees frame date before beacon period start date. The measures for those frames were dropped whereas they are usable...
2013-01-18cesar/ce/rx/bl: return the correct fsm id when only one interval, refs #2362Jalil Chemseddine
2013-01-18cesar/{ce/rx/bl/fsm, cp/msg}: fix interval repetition handling, refs #2362Jalil Chemseddine
2013-01-18cesar/ce/rx/bl/fsm: fix comments, no refsCyril Jourdan
2013-01-18cesar/ce/rx/bl/test/fsm: correct test, refs #2366Cyril Jourdan
The test needed an override for ce_rx_bl_nsr_clean function and there was some inits missing.
2013-01-18cesar/ce/rx/bl/test: move fsm test to its own folder, refs #2771Cyril Jourdan
2013-01-18cesar/ce/rx/bl: move NSR functions to specific header, refs #2366Cyril Jourdan
2013-01-18cesar/ce/rx/bl: move context to a dedicated header, refs #2366Cyril Jourdan
2013-01-18cesar/ce/rx/bl: adapt event handling for intervals, refs #2366Jérôme Jutteau