Temat: Pomoc w ustawieniu parametrów bootowania dla CC na kirkwood
Witam !
Dawno nie grzebałem nic u siebie pod OpenWRT, ale postanowiłem zaktualizować system z AA do CC. Niestety pojawił się problem. Mianowicie nowy system nie che w ogóle wystartować. Podejrzewam że to wina parametrów U-Boot'a. Z reguły wykrzacza się na "starting kernel" lub "kernel panic". Sprzęt to Seagate GoFlexHome (kirkwood). Na wiki nie ma wiele, pod Dockstara jest więcej, ale też żadna konfiguracja nie powoduje uruchomienia systemu.
Z logu(fragment) wydaje mi się że to przez to że niemoże zamontować rootfs'a. Choć w ustawieniach wszystko odnośnie partycji jest ustawione.
[ 1.010856] Waiting 10 sec before mounting root device...
[ 11.017652] UBIFS error (pid 1): ubifs_mount: cannot open "ubi0:rootfs", error -19
[ 11.025331] VFS: Cannot open root device "sda1" or unknown-block(0,0): error -6
[ 11.032687] Please append a correct "root=" boot option; here are the available partitions:
[ 11.041093] 1f00 1024 mtdblock0 (driver?)
[ 11.046179] 1f01 4096 mtdblock1 (driver?)
[ 11.051280] 1f02 32768 mtdblock2 (driver?)
[ 11.056362] 1f03 221184 mtdblock3 (driver?)
[ 11.061455] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 11.069756] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 82.507574] random: nonblocking pool is initializedTu z kolei ustawienia:
U-Boot 2015.10-tld-1 (Nov 06 2015 - 15:53:00 -0800)
Seagate GoFlex Home
SoC: Kirkwood 88F6281_A1
DRAM: 128 MiB (ECC not enabled)
WARNING: Caches not enabled
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot: 0
GoFlexHome> printenv
arcNumber=3338
baudrate=115200
bootargs=ttyS0,115200 mtdparts=orion_nand:0xe0000@0x0(uboot),0x20000@0xe0000(uboot_env),0x100000@0x100000(second_stage_uboot),-@0x200000(root) ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs rw
bootargs_console=console=ttyS0,115200
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_pogo=fsload uboot-original-mtd0.kwb; go 0x800200
bootcmd_usb=usb start; if ext2load usb 0:1 0x00800000 /uImage; ext2load usb 0:1 0x01100000 /uInitrd; then setenv bootargs $(bootargs_console); bootm 0x00800000 0x01100000; else bootm 0x6400000; fi;
bootdelay=3
console=ttyS0,115200
ethact=egiga0
ethaddr=02:50:43:d2:23:37
fdt=/boot/dockstar.dtb
fileaddr=800000
filesize=6f1e0
ipaddr=203.0.113.32
kernel=/boot/zImage
led_error=orange blinking
led_exit=green off
led_init=green blinking
mainlineLinux=yes
mtddevname=uboot
mtddevnum=0
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:0xe0000@0x0(uboot),0x20000@0xe0000(uboot_env),0x100000@0x100000(second_stage_uboot),-@0x200000(root)
netmask=255.255.255.0
partition=nand0,0
serverip=203.0.113.1
set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts
stderr=serial
stdin=serial
stdout=serial
ubiboot_n1=ubifsload 0x800000 ${kernel}; ubifsumount; bootz 0x800000
ubifinish1=ubifsload 0x800000 ${kernel}; ubifsload 0x700000 ${fdt}; ubifsumount; run ubifinish2
ubifinish2=fdt addr 0x700000; fdt resize; fdt chosen; bootz 0x800000 - 0x700000
usb_boot=if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000;else bootm 0x800000;fi;
usb_device=0:1
usb_init=usb start
usb_load_uimage=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage
usb_root=/dev/sda1
usb_rootdelay=10
usb_rootfstype=ext2
Environment size: 2099/131068 bytes
GoFlexHome>Jak ktoś ma jakąś sugestie pomysł, chętnie przetestuje.
OS: OpenWrt 18.06.4
Info: 128MB RAM / 1,2GHz CPU / USB / sATA / RJ45
Osprzęt: 500GB SATA / LCD DPF 2,4" / USB rt2800

