9
0
Fork 0
Commit Graph

5208 Commits

Author SHA1 Message Date
Sascha Hauer be2893d5ef x86: use sections.h header file for linker variables
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-17 11:05:14 +01:00
Sascha Hauer 377d6ea1b6 ARM: remove unnecessary include
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-17 11:05:14 +01:00
Sascha Hauer 420dab954c ARM start.c: use sections.h header file for linker variables
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-17 11:05:14 +01:00
Sascha Hauer 92c1c6cfb1 add sections.h header file
The file location and variable names from the Linux Kernel have been
used here.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-17 11:04:24 +01:00
Sascha Hauer 5a707d6ad8 ARM: provide __bss_stop in linker script
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-17 11:03:07 +01:00
Sascha Hauer bdaf02175c blackfin: provide __bss_stop in linker script
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-17 11:03:07 +01:00
Sascha Hauer b902e942dc ppc pcm030: provide _stext, _text and __bss_stop in linker script
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-17 11:03:07 +01:00
Sascha Hauer 2f0109b1bb Merge branch 'master' into next 2011-01-17 09:43:40 +01:00
Sascha Hauer 2fed74ef6d ARM tx28: Add mmu support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-17 09:43:00 +01:00
Sascha Hauer 06b7cc4875 fec i.MX28: Make it work with MMU on
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-17 09:42:56 +01:00
Jean-Christophe PLAGNIOL-VILLARD be4146161b import swab.h arch implementation form linux v2.3.37
this will avoid __bswapsi2 issue see with gcc 4.5.1

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-17 09:39:16 +01:00
Jean-Christophe PLAGNIOL-VILLARD f68dc40804 arm: add __bswapsi2 support
32-bit endian conversion

needed by gcc 4.5.1

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-17 09:39:16 +01:00
Sascha Hauer d0e7facd54 Merge branch 'fb-master' 2011-01-17 08:28:48 +01:00
Jean-Christophe PLAGNIOL-VILLARD d62f8241d3 arm: libgcc update to linux v2.6.37
This patch removes the inclusion of libgcc functions into Barebox on the ARM
architecture. Only the really needed functions are provided in the lib_arm
directory. Those implementations are copied from Linux where they are well
proven related to reliably, performance.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-17 08:28:08 +01:00
Jean-Christophe PLAGNIOL-VILLARD 643ffef5f4 Thumb-2: Add macros for the unified assembler syntax
from linux kernel v2.6.37

This patch adds various C and assembler macros that help with using
the unified assembler syntax for compiling files to either ARM or
Thumb-2 modes.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-17 08:27:26 +01:00
Krzysztof Halasa 04e89d094a CFI NOR flash: fix write timeout units.
Write timeouts are expressed in microseconds. Milliseconds are 1000 times
longer than microseconds, not 1000 times shorter.

Before (Intel 28F128J3D75):

CFI conformant FLASH (16 x 16)  Size: 16 MB in 128 Sectors
  Intel Extended command set, Manufacturer ID: 0x89, Device ID: 0x18
  Erase timeout: 4096 ms, write timeout: 256000 ms
  Buffer write timeout: 1024000 ms, buffer size: 32 bytes

After:
  ...
  Erase timeout: 4096 ms, write timeout: 256 us
  Buffer write timeout: 1024 us, buffer size: 32 bytes

Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-17 08:26:06 +01:00
Jean-Christophe PLAGNIOL-VILLARD cfa9144fc1 versatile: add missing env/config
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-17 08:24:38 +01:00
Sascha Hauer 0327e12f06 fb: update cdev map_base
Calling fb_activate_var potentially changes the framebuffer address,
so we have to update the fb0 cdev afterwards.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-14 20:42:17 +01:00
Gregory CLEMENT 7093f3fd20 BMP: Add support for 32bpp video frame buffer
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-14 10:44:33 +01:00
Eric Bénard 2f07c8f415 i2c-imx: sync with kernel's driver
strange behaviour was observed with actual driver : bus lock, probe of
absent adresses, wrong data read.
This patch sync the driver with linux's one and after a few tests, we
don't see anymore strange behaviour (tested on i.MX27).

Signed-off-by: Eric Bénard <eric@eukrea.com>
Acked-by: Marc Reilly <marc@cpdesign.com.au>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-14 10:05:12 +01:00
Sascha Hauer 00cf17c957 ARM pca100: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-13 15:11:53 +01:00
Marc Reilly 9345851a60 imx: add reg definitions for imx25 and imx35 boot source.
Signed-off-by: Marc Reilly <marc@cpdesign.com.au>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-10 20:04:34 +01:00
Marc Reilly 0764c345f7 Init env context a bit earlier in initalization sequence.
Ensures subsequent init functions to export environment variables during
init without having to rely on linking order being correct.

Signed-off-by: Marc Reilly <marc@cpdesign.com.au>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-10 20:04:34 +01:00
Wolfram Sang e7d81285c8 defaultenv: make 'boot' work from subdirs
Wrong pathnames prevented that.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-10 12:33:17 +01:00
Eric Bénard fab0a4dbe7 eukrea_cpuimx25: update defconfig
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-08 13:26:48 +01:00
Eric Bénard 4c1f9e97b9 eukrea_cpuimx25: switch to default environement
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-08 13:26:48 +01:00
Eric Bénard 8a434b9a8c eukrea_cpuimx25: add led support
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-08 13:26:48 +01:00
Eric Bénard fe2eb54612 update: add bareboxenv update possibility
this is useful when building barebox without integrated env.

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-08 13:26:48 +01:00
Eric Bénard ec604a5448 defaultenv/bin/update: let /env/config set default values
this patch allows for example device_type to be fixed in /env/config
(useful for configurations with only one memory type).

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-08 13:26:48 +01:00
Eric Bénard d15cfafeef defaultenv/bin/boot: make ubi root's name configurable
all root are not named root so give the possibility to
configure this in the config file.

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-08 13:26:48 +01:00
Eric Bénard 22ef325692 _update_help: fix script name
$0 is _update_help so update -h leads to : usage: /env/bin/_update_help
so don't use $0 but hardcode update instead.

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-08 13:26:48 +01:00
Sascha Hauer a5734b08bd fs: fix multiple mount of the same fstype
We need to assign a new device id if we want to register
a fs with the same type of an already registered fstype.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-08 13:09:53 +01:00
Sascha Hauer 8a97bb978c Merge branch 'scb9328' into next 2011-01-08 13:09:26 +01:00
Sascha Hauer 993bc1afff ARM scb9328: increase barebox partition size
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-07 15:27:48 +01:00
Sascha Hauer 59ef99001d update scb9328_defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-07 13:56:27 +01:00
Sascha Hauer 67f284e9bb scb9328: remove useless bin/init file from env
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-07 13:55:45 +01:00
Sascha Hauer 3d0f543b83 i.MX nand: do not select NAND_IMX_BOOT
NAND_IMX_BOOT is related to the external boot mode, so do not
select it when using internal boot mode.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-07 11:39:08 +01:00
Sascha Hauer 738de118db mpc5xxx: fix printf compiler warnings
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-07 11:38:37 +01:00
Sascha Hauer 377aec6bfc imx-ipu-fb: fix printf compiler warnings
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-07 11:38:24 +01:00
Sascha Hauer 7c1e5d6dd7 mci-core: fix printf compiler warnings
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-07 11:38:11 +01:00
Sascha Hauer 48a028bb8d imx-esdhc: fix printf compiler warnings
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-07 11:38:02 +01:00
Sascha Hauer 74d1e23604 ppc: fix printf compiler warnings
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-07 11:37:50 +01:00
Sascha Hauer 1f20b82548 at91: fix printf compiler warnings
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-07 11:37:35 +01:00
Sascha Hauer 979ebafa62 pcm043: fix printf compiler warnings
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-07 11:37:24 +01:00
Sascha Hauer 736d71214d guf-cupid: fix printf compiler warnings
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-07 11:37:15 +01:00
Sascha Hauer 1cb13c2580 netx: fix printf compiler warnings
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-07 11:37:02 +01:00
Sascha Hauer 63100f4e15 device tree: fix printf compiler warnings
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-07 11:36:50 +01:00
Sascha Hauer 8cfbcc7d82 ipe337: fix printf compiler warnings
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-07 11:36:36 +01:00
Sascha Hauer c65d601648 smc911x: fix printf compiler warnings
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-07 11:36:20 +01:00
Sascha Hauer 0f81fc1ca9 dm9000: fix printf compiler warnings
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-07 11:36:06 +01:00