- add scripts to flash kernel & environment from U-Boot
- add mechanism to check which of the two kernels to boot
- add script to initialize the ageing partition
- cosmetic changes to the init-scripts
This patch removed leftover Makefile entries from
commit "d59c600c656d08410ea862c582fbd77432c3ca47". They should
have been reverted, but somehow survived
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This patch fixes the read function for the linux sandbox if a buffer
of zero length should be read. The error handling introduced in
6574529bb5 detects a false positive if the
length is zero.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Add init code for the CS0 flash timing registers. These values are not
optimized yet, they are more or less copied from the Windows CE
installation.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
This patch removes the "-isystem $(gccincdir)" from the
arch/*/Makefile because gccindir is empty.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
fixes:
arch/sandbox/board/hostfile.c:32:9: warning: symbol 'hf_read' was not declared. Should it be static?
arch/sandbox/board/hostfile.c:43:9: warning: symbol 'hf_write' was not declared. Should it be static?
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
this fixes:
arch/sandbox/board/clock.c:28:10: warning: symbol 'linux_clocksource_read' was not declared. Should it be static?
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
this fixes:
arch/sandbox/board/hostfile.c:32:9: warning: symbol 'hf_read' was not declared. Should it be static?
arch/sandbox/board/hostfile.c:43:9: warning: symbol 'hf_write' was not declared. Should it be static?
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
this fixes:
fs/fs.c:210:6: warning: symbol 'files' was not declared. Should it be static?
fs/fs.c:212:6: warning: symbol 'get_file' was not declared. Should it be static?
fs/fs.c:227:6: warning: symbol 'put_file' was not declared. Should it be static?
fs/fs.c:248:5: warning: symbol 'dir_is_empty' was not declared. Should it be static?
fs/fs.c:613:41: warning: Using plain integer as NULL pointer
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
u_boot_register_console uses the wrong filedescriptors for in and out
the are swapped. This patch fixes this problem and uses fileno instead.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This patch is a _CRUDE_HACK_ the linker complains about the missing
symbol _SDA_BASE_ on powerpc, so git it to him to please him and
finally link the sandbx.
LD uboot
/usr/lib/gcc/powerpc-linux-gnu/4.2.3/../../../../lib/crt1.o:(.rodata+0x0): undefined reference to `_SDA_BASE_'
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This patch adds a __SANDBOX__ define to identify compiling for the
sandbox.
When building for sandbox, don't use sync() workaround.
Fixes this error for sandbox on PPC:
CC common/memsize.o
common/memsize.c:30:38: error: asm/io.h: No such file or directory
common/memsize.c: In function 'get_ram_size':
common/memsize.c:51: warning: implicit declaration of function 'sync'
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Add a default environment for the phyCORE-i.MX27.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Make the frequency output a little bit nicer
From: Robert Schwebel <r.schwebel@pengutronix.de>
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
This patch cleans up the do_bootm_linux() function. It removes most of
the uggly ifdefery and replaces it by a sane function optimizing
structure.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
The i.MX27 can only run at 200 MHz ARM core frequency when being powered
by 1.2 V. Fix init sequence to reflect this behaviour.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
With this patch a define is used for the buffer size not a hardcoded value
in two places in the node.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>