|
OpenWrt u-boot with Read-Only mtd0? June 08, 2016 12:21AM |
Registered: 9 years ago Posts: 442 |
|
Re: OpenWrt u-boot with Read-Only mtd0? June 08, 2016 01:53AM |
Admin Registered: 13 years ago Posts: 18,573 |
printenv boot
|
Re: OpenWrt u-boot with Read-Only mtd0? June 08, 2016 08:49AM |
Registered: 9 years ago Posts: 442 |
|
Re: OpenWrt u-boot with Read-Only mtd0? June 16, 2016 11:47PM |
Registered: 9 years ago Posts: 442 |
U-Boot 2014.10 (Jan 02 2016 - 02:37:49)M
Pogo E02
SoC: Kirkwood 88F6281_A0
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
Hit any key to stop autoboot: 0
PogoE02> printenv
arcNumber=3542
baudrate=115200
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
bootargs_root=ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs rw
bootcmd=setenv bootargs ${console} ${mtdparts} ${bootargs_root}; ubi part root; ubifsmount ubi:rootfs; ubifsload 0x800000 ${kernel}; ubifsload 0x700000 ${fdt}; ubifsumount; fdt addr 0x700000; fdt resize; fdt chosen; bootz 0x800000 - 0x700000
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=3
bootdev=usb
console=console=ttyS0,115200
device=0:1
devices=usb
dtb_file=/boot/dts/kirkwood-pogo_e02.dtb
ethact=egiga0
ethaddr=00:25:31:04:B3:41
fdt=/boot/pogo_e02.dtb
filesize=28ce
ipaddr=192.168.1.1
kernel=/boot/zImage
load_dtb=echo loading DTB $dtb_file ...; ext2load $bootdev $device 0x1c00000 $dtb_file
load_initrd=echo loading uInitrd ...; ext2load $bootdev $device 0x1100000 /boot/uInitrd
load_uimage=echo loading uImage ...; ext2load $bootdev $device 0x800000 /boot/uImage
machid=dd6
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
scan_disk=scan_done=1
scan_done=1
scan_usb="usb start"
serverip=192.168.1.15
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts
stderr=serial
stdin=serial
stdout=serial
Environment size: 1411/131068 bytes
PogoE02> boot
incorrect device type in root
Partition root not found!
Error reading superblock on volume 'ubi:rootfs' errno=-19!
ubifsmount - mount UBIFS volume
Usage:
ubifsmount <volume-name>
- mount 'volume-name' volume
UBIFS not mounted, use ubifs mount to mount volume first!
ubifsload - load file from an UBIFS filesystem
Usage:
ubifsload <addr> <filename> [bytes]
- load file 'filename' to address 'addr'
UBIFS not mounted, use ubifs mount to mount volume first!
ubifsload - load file from an UBIFS filesystem
Usage:
ubifsload <addr> <filename> [bytes]
- load file 'filename' to address 'addr'
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
Bad Linux ARM zImage magic!
PogoE02>
PogoE02> reset
resetting ...
U-Boot 2014.10 (Jan 02 2016 - 02:37:49)
Pogo E02
SoC: Kirkwood 88F6281_A0
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
Hit any key to stop autoboot: 0
incorrect device type in root
Partition root not found!
Error reading superblock on volume 'ubi:rootfs' errno=-19!
ubifsmount - mount UBIFS volume
Usage:
ubifsmount <volume-name>
- mount 'volume-name' volume
UBIFS not mounted, use ubifs mount to mount volume first!
ubifsload - load file from an UBIFS filesystem
Usage:
ubifsload <addr> <filename> [bytes]
- load file 'filename' to address 'addr'
UBIFS not mounted, use ubifs mount to mount volume first!
ubifsload - load file from an UBIFS filesystem
Usage:
ubifsload <addr> <filename> [bytes]
- load file 'filename' to address 'addr'
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
Bad Linux ARM zImage magic!
PogoE02>
|
Re: OpenWrt u-boot with Read-Only mtd0? June 17, 2016 01:11AM |
Admin Registered: 13 years ago Posts: 18,573 |
printenvand then boot.
|
Re: OpenWrt u-boot with Read-Only mtd0? June 17, 2016 11:00PM |
Registered: 9 years ago Posts: 442 |
|
Re: OpenWrt u-boot with Read-Only mtd0? June 17, 2016 11:32PM |
Admin Registered: 13 years ago Posts: 18,573 |