9
0
Fork 0
Commit Graph

4 Commits

Author SHA1 Message Date
Sascha Hauer 0e9ba6c384 ARM i.MX bbu: Allow to overwrite app_dest
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-12-06 13:43:09 +01:00
Sascha Hauer 6e92d42d48 ARM i.MX bbu: Fix wrong buffer free
buf is still needed, instead mbr should be freed.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-12-03 20:04:46 +01:00
Sascha Hauer c7fc9be893 ARM i.MX bbu: Fix compiling with DEBUG enabled
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-27 20:51:03 +01:00
Sascha Hauer f207ca79a0 ARM i.MX: Add barebox update handler for internal boot
This adds support for an update handler for internal boot. Currently
handled are:

- v1 MMC/SD
- v2 MMC/SD
- v2 NAND

where v1 is found on i.MX25, i.MX35 and i.MX51. v2 is found on i.MX53.

This code intentionally does not use the DCD data compiled into every
i.MX internal boot image. This makes it possible to make a pure second
stage barebox bootable on i.MX internal boot devices later.

This has been tested on the i.MX51 babbage, i.MX53 loco and i.MX53 tx53
board.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-10-17 20:23:42 +02:00