[adm8668] fix firstboot with new MTD map driver
authorFlorian Fainelli <florian@openwrt.org>
Thu, 27 Jan 2011 21:50:00 +0000 (21:50 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Thu, 27 Jan 2011 21:50:00 +0000 (21:50 +0000)
commit9611bb44757339d8fd827da7b821a984a42a679a
tree14575818b79c90ad573db07f42e56885017971b3
parent118ac178a02149189681f9eaa3bee4dc239c1846
[adm8668] fix firstboot with new MTD map driver

my-mkimage previously did not include the fs_mark of deadc0de because
upon formatting of jffs2 partition, U-Boot's CRC validation would not
allow the image to boot. This new MTD map will shrink the
kernel+rootfs+fs_mark image and recalculate the CRC, so that only the
kernel is part of the image validation. This also improves boot time,
since less is copied from FLASH->RAM. This is mostly from brcm47xx,
just with u-boot image vs TRX partitions.

Signed-off-by: Scott Nicholas <scott.nicholas@scottn.us>
SVN-Revision: 25176
target/linux/adm8668/files/drivers/mtd/maps/adm8668.c
target/linux/adm8668/image/Makefile
target/linux/adm8668/image/my-mkimage