2012-11-01 |
bootm: Do not cross 1MiB sections for the devicetree
...
ARM Linux only maps a single 1MiB section for the devicetree. This has
a 1Mib alignment, so we are not allowed to cross such a boundary. Align
the devicetree to the next power of two so that this never happens.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 1 Nov 2012
|
bootm: Add a define for the additional devicetree size
...
The fixed devicetree may need more space than the original one.
We used to use 0x8000 here. Add a define for it to have the
space defined at a single place.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 1 Nov 2012
|
net usb asix: Add missing line breaks in dev_* messages
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 1 Nov 2012
|
2012-10-31 |
Merge branch 'pu/net-fixes'
Sascha Hauer
committed
on 31 Oct 2012
|
net fec: call fec_init at probe time
...
fec_init() initializes some bits important for phy access, so do
this before the mdiobus is registered. This fixes mdiobus support
on i.MX28 boards in RMII mode.
Reported-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 31 Oct 2012
|
2012-10-30 |
uimage: Fix deleting of temporary file
...
the uImage support may generate a temporary file which ought to be deleted
after usage. Due to the wrong filename this never happened. Fix this.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 30 Oct 2012
|
net eth: make edev->init optional
...
edev->init is called at eth_register time unconditionally and is supposed
to initialize the ethernet hardware. Since it's called unconditionally
this could be done by the driver without having an additional hook.
Some drivers need their initialization done earlier since they also register
a mdiobus which does hardware accesses on registration time.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 30 Oct 2012
|
net fec: connect phy at probe time
...
Several i.MX boards (all i.MX6 boards) need to do some adjustments
to phy registers. If barebox itself does not use network, networking
won't work in the kernel if the kernel does not have the fixups. Connect
the phy at probe time so that these tweaks are done during probe so that
the kernel works without phy register tweaks. Also this has the effect
that the phy device is present and introspectable without doing fake
network transfers beforehand.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 30 Oct 2012
|
of: Check for NULL pointer in of_find_property
...
The console layer calls of_device_is_stdout_path for a new console. When
we are booting without devicetree then of_chosen is NULL which makes barebox
crash. Check for a NULL pointer in of_find_property to prevent this.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 30 Oct 2012
|
2012-10-26 |
misc JTAG: include fixes
...
common.h should come first, other include files implicitely depend
on it. Also, remove unused fs.h and remove commented line.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 26 Oct 2012
|
ARM omap spi image: print error to stderr
...
Since the utility outputs the image on stdout we have to print the
error messages to stderr in order to see them.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 26 Oct 2012
|
ARM omap spi image: relax size constrains
...
The omap spi utility requires the image size to be a multiple of four
bytes. This seems unnecessary, we can just pad with a few bytes to
get the required alignment.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 26 Oct 2012
|
pbl: provide hang() function for the pbl
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 26 Oct 2012
|
of gpio: Build gpio helper only when gpiolib is selected
...
Otherwise the functions needed by the helper won't be available.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 26 Oct 2012
|
mtd nand i.MX: fix compilation for unsupported SoC
...
Add a default case when all if(nfc_is_*) else if()
return false to prevent a compiler warning.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 26 Oct 2012
|
mtd mxs nand: select NAND_BBT
...
The driver won't compile without it, so select it.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 26 Oct 2012
|
misc JTAG: Let Jtag driver depend on GENERIC_GPIO
...
It uses the gpio functions, so let it depend on GENERIC_GPIO.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 26 Oct 2012
|
mfd stmpe: Add missing semicolons at end of EXPORT_SYMBOL
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 26 Oct 2012
|
ARM Samsung: Let Nand boot depend on ARCH_S3C24xx
...
It is only available on this SoC.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 26 Oct 2012
|
ARM omap: pbl fixes
...
Omap3 pbl build may need omap3_clock.c. Also, do not use add_generic_device
in pbl
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 26 Oct 2012
|
ARM Samsung: fix pbl build for tiny210 board
...
The Tiny210 needs lowlevel.o and memory setup in the pbl.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 26 Oct 2012
|
ARM: let THUMB2 select EABI
...
THUMB2 mode needs EABI to build, so select it.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 26 Oct 2012
|
mtd: fix mtdraw_write/mtdraw_erase arguments
...
For the !CONFIG_MTD_WRITE case they still have ulong as offset
argument.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 26 Oct 2012
|
wd: Provide default value for watchdog timeout
...
Otherwise barebox can't be built if the user did not specify a value.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 26 Oct 2012
|
pbl: Add missing FORCE
...
Otherwise the pbl files do not get rebuilt when the CFLAGS change.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 26 Oct 2012
|
2012-10-25 |
mtd: ubi: fix typos in comment of build.c
...
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Wolfram Sang
authored
on 25 Oct 2012
Sascha Hauer
committed
on 25 Oct 2012
|
defenv-2: set username to 'none'
...
The current 'sha' setting, though admittedly very convenient for me,
was never intended to be in mainline.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 25 Oct 2012
|
Makefile: disable CDPATH
...
CDPATH has sideeffects when generating barebox_default_env.h (printing
the directory name into the header file), causing a build failure.
Disable it for the build.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Wolfram Sang
authored
on 24 Oct 2012
Sascha Hauer
committed
on 25 Oct 2012
|
2012-10-24 |
fs tftp: Fix possible fifo overflow
...
In tftp_read we send a request for a new packet without checking if we
have enough space in the FIFO. This can lead to a FIFO overflow and a
corrupt file. Add a check for it.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tested-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sascha Hauer
committed
on 24 Oct 2012
|
fs tftp: Only request a block once
...
tftp_send is called often. Each time, when in STATE_RDATA, a packet
is requested from the tftp server, even if we requested the same packet
already.
Stop this by tracking which packet we requested.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 24 Oct 2012
|