1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 19:31:34 +02:00

NAND DATA Partition offset and reflash_ben.sh fixed according to 512

Mb rootfs
This commit is contained in:
kyak 2010-11-06 10:49:44 +03:00
parent 589ead1a57
commit 14ac5779b1
2 changed files with 2 additions and 2 deletions

View File

@ -166,7 +166,7 @@ if [ "$K" == "TRUE" ]; then
fi
if [ "$R" == "TRUE" ]; then
log "erase nand rootfs partition..."
usbboot -c "boot;nerase 16 512 0 0" >> "${LOG_FILE}" 2>&1
usbboot -c "boot;nerase 16 1024 0 0" >> "${LOG_FILE}" 2>&1
log "flashing rootfs..."
tmp=$(usbboot -c "nprog 2048 ${WORKING_DIR}/${ROOTFS} 0 0 -n" 3>> "${LOG_FILE}" 2>&1 >&3)
test "${tmp}" && abort "error while flashing rootfs:\n${tmp}"

View File

@ -97,7 +97,7 @@ static struct mtd_partition qi_lb60_partitions_2gb[] = {
.size = 512 * 0x100000,
},
{ .name = "NAND DATA partition",
.offset = 264 * 0x100000,
.offset = 520 * 0x100000,
.size = 1528 * 0x100000,
},
};