2012-11-14 |
replace barebox* in .gitignore with individual files
...
This effectively reverts:
| commit f9df22b
| Author: Alexander Shiyan <shc_work@mail.ru>
| Date: Mon Oct 8 10:35:04 2012 +0400
|
| Add more generated files to .gitignore
barebox* is not limited to the toplevel directory, so this ignores
all files starting with 'barebox' from which we have several we do
not wish to ignore. Add barebox-flash-image to the ignore list which
seemed to be the motivation for the original patch.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Alexander Shiyan <shc_work@mail.ru>
Sascha Hauer
committed
on 14 Nov 2012
|
ARM pbl: add generated file zbarebox.map to .gitignore
...
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Fabio Porcedda
authored
on 12 Nov 2012
Sascha Hauer
committed
on 14 Nov 2012
|
2012-11-12 |
defenv-2 menu: when booting failed wait for key press
...
When booting fails we will be immediately be back into the menu,
so the error message can't be seen. Also, boot in verbose mode
since in interactive mode the last bit of performance is not that
necessary.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 12 Nov 2012
|
2012-11-02 |
mount: add compatibility to old mount command
...
the mount command used to have the syntax 'mount <dev> <type> <mountpoint>'.
This was changed to the more Linux like behaviour which specifies the
type with the -t <type> option. If a newer barebox is run on a device
with an older environment the mount command no longer works. This patch
adds compatibility to the old behaviour.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 2 Nov 2012
|
2012-11-01 |
iomux-imx35: add missing comma in pad definition
...
The same issue was fixed in the Linux kernel in commit
66ddfc6 (mx35: add a missing comma in a pad definition)
for 2.6.33-rc7.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Uwe Kleine-König
authored
on 31 Oct 2012
Sascha Hauer
committed
on 1 Nov 2012
|
command: return 1 on unknown command
...
hush now prints the error value if a command returns a value < 0,
so do not return -1 (EPERM) when we encounter an unknown command.
Instead, return 1 so that hush is quiet.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 1 Nov 2012
|
at91sam9xek: fix mtd partition
...
barebox size is 384KiB
and for the official atmel release we need to rootfs at 8M
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Jean-Christophe PLAGNIOL-VILLARD
authored
on 31 Oct 2012
Sascha Hauer
committed
on 1 Nov 2012
|
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
|