On 15 May 2010 11:19, Korosu Itai <[email protected]> wrote:
> It works when I use the NOR menu. What's the difference between booting with
> that menu and without it? I thought it was the same.
You can have a different bootloader in /dev/mtd1. I have the same in them:
r...@gta02v6 ~ # grep -i bootloader /dev/mtd[01]
/dev/mtd0:Neo1973 Bootloader U-Boot 1.3.2-moko12
/dev/mtd1:Neo1973 Bootloader U-Boot 1.3.2-moko12
If you also have u-boot in it, show me the contents of your /dev/mtd2:
cat /dev/mtd2 | tr '\0' '\n' | more
(cut off the empty lines)
Mine reads (long lines broken):
.â
Ùboot_menu_timeout=300
bootargs_base=rootfstype=jffs2 root=/dev/mtdblock6
console=ttySAC2,115200 console=tty0 loglevel=8 regular_boot
bootcmd=setenv bootargs ${bootargs_base} ${mtdparts}; nand read.e
0x32000000 kernel 0x300000; bootm 0x32000000
bootdelay=1
menu_1=mmcblk0p1 - Om2007.2: setenv bootargs ${bootargs_base}
${mtdparts} rootfstype=ext2 root=/dev/mmcblk0p1 rootdelay=5; mmcinit;
ext2load mm
c 0:1 0x32000000 uImage.bin; bootm 0x32000000
menu_2=mmcblk0p2 - Debian: setenv bootargs ${bootargs_base}
${mtdparts} rootfstype=ext2 root=/dev/mmcblk0p2 rootdelay=5; mmcinit;
ext2load mmc
0:2 0x32000000 uImage.bin; bootm 0x32000000
menu_3=mmcblk0p3 - AAAFNRAA: setenv bootargs ${bootargs_base}
${mtdparts} rootfstype=ext2 root=/dev/mmcblk0p3 rootdelay=5; mmcinit;
ext2load mm
c 0:3 0x32000000 uImage.bin; bootm 0x32000000
menu_4=mmcblk0p6 - AAAFNRAA: setenv bootargs ${bootargs_base}
${mtdparts} rootfstype=ext2 root=/dev/mmcblk0p6 rootdelay=5; mmcinit;
ext2load mm
c 0:6 0x32000000 uImage.bin; bootm 0x32000000
menu_5=Reboot: reset
menu_6=Power off: neo1973 power-off
menu_7=Set console to USB: setenv stdin usbtty; setenv stdout usbtty;
setenv stderr usbtty
menu_8=Set console to serial: setenv stdin serial; setenv stdout
serial; setenv stderr serial
mtddevname=nor
mtddevnum=0
mtdids=nor0=physmap-flash,nand0=neo1973-nand
mtdparts=mtdparts=physmap-flash:-(nor);neo1973-nand:0x00040000(u-boot),0x00040000(u-boot_env),0x00800000(kernel),0x000a0000(splash),0x00040000(
factory),0x0f6a0000(rootfs)
partition=nor0,0
pcb_rev=0x000
pcf50633_int1=0x80
pcf50633_int2=0xfe
quiet=1
sd_image_name=uImage.bin
splashimage=nand read.e 0x32000000 splash 0x5000; unzip 0x32000000
0x8800000 0x96000
stderr=usbtty
stdin=usbtty
stdout=usbtty
usbtty=cdc_acm
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user