Dockstar Updated uBoot 2015.10 issue April 09, 2016 12:33PM |
Registered: 13 years ago Posts: 89 |
U-Boot 2015.10-tld-1 (Nov 06 2015 - 15:56:21 -0800) Seagate FreeAgent DockStar SoC: Kirkwood 88F6281_A0 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 starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... Use USB retry period from the environment: 15 second(s) 1 Storage Device(s) found Unknown command 'ide' - try 'help' Unknown command 'mmc' - try 'help' Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 15122944 000e2f0c-01 83 loading envs from usb 0 ... ** File not found /boot/uEnv.txt ** Unknown command 'ide' - try 'help' Unknown command 'mmc' - try 'help' running scan_disk ... Scan device usb device usb 0:1 1 bytes read in 231 ms (0 Bytes/s) Found bootable drive on usb 0 loading uImage ... 3165294 bytes read in 448 ms (6.7 MiB/s) loading uInitrd ... 7179935 bytes read in 645 ms (10.6 MiB/s) loading DTB /boot/dts/kirkwood-dockstar.dtb ... 10398 bytes read in 280 ms (36.1 KiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.4.0-kirkwood-tld-1 Created: 2016-03-31 3:12:19 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3165230 Bytes = 3 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.4.0-kirkwood-tld-1 Created: 2016-02-19 7:33:04 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7179871 Bytes = 6.8 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 01c00000 Booting using the fdt blob at 0x1c00000 Loading Kernel Image ... OK Loading Ramdisk to 07440000, end 07b18e5f ... OK Loading Device Tree to 0743a000, end 0743f89d ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Mon Jan 25 20:35:24 PST 2016 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine model: Seagate FreeAgent Dockstar [ 0.000000] bootconsole [earlycon0] enabled [ 0.000000] Memory policy: Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10 [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Memory: 120644K/131072K available (6007K kernel code, 573K rwdata, 1992K rodata, 296K init, 312K bss, 10428K reserved, 0K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xc8800000 - 0xff800000 ( 880 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc07d7ef4 (8000 kB) [ 0.000000] .init : 0xc07d8000 - 0xc0822000 ( 296 kB) [ 0.000000] .data : 0xc0822000 - 0xc08b169c ( 574 kB) [ 0.000000] .bss : 0xc08b169c - 0xc08ff9d0 ( 313 kB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns [ 0.000009] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.008272] Console: colour dummy device 80x30 [ 0.012846] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584) [ 0.100931] pid_max: default: 32768 minimum: 301 [ 0.105754] Security Framework initialized [ 0.110070] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.116815] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.124816] Initializing cgroup subsys io [ 0.129002] Initializing cgroup subsys devices [ 0.133573] Initializing cgroup subsys freezer [ 0.138189] Initializing cgroup subsys net_cls [ 0.142823] CPU: Testing write buffer coherency: ok [ 0.148333] Setting up static identity map for 0x8200 - 0x8258 [ 0.154569] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2 [ 0.163642] devtmpfs: initialized [ 0.171687] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.182171] prandom: seed boundary self test passed [ 0.190982] prandom: 100 self tests passed [ 0.195206] pinctrl core: initialized pinctrl subsystem [ 0.201982] NET: Registered protocol family 16 [ 0.206974] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.238052] cpuidle: using governor ladder [ 0.268051] cpuidle: using governor menu [ 0.272485] Feroceon L2: Enabling L2 [ 0.276195] Feroceon L2: Cache support initialised. [ 0.281601] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set [ 0.297075] No ATAGs? [ 0.329556] vgaarb: loaded [ 0.332991] usbcore: registered new interface driver usbfs [ 0.338723] usbcore: registered new interface driver hub [ 0.344219] usbcore: registered new device driver usb [ 0.350494] clocksource: Switched to clocksource orion_clocksource [ 0.412587] NET: Registered protocol family 2 [ 0.417862] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.425092] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.431601] TCP: Hash tables configured (established 1024 bind 1024) [ 0.438135] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.444116] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.450718] NET: Registered protocol family 1 [ 0.455535] RPC: Registered named UNIX socket transport module. [ 0.461623] RPC: Registered udp transport module. [ 0.466435] RPC: Registered tcp transport module. [ 0.471260] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.478195] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.485921] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.492265] audit: initializing netlink subsys (disabled) [ 0.497811] audit: type=2000 audit(0.480:1): initialized [ 0.503652] Initialise system trusted keyring [ 0.508452] zbud: loaded [ 0.511410] VFS: Disk quotas dquot_6.6.0 [ 0.515485] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.523166] NFS: Registering the id_resolver key type [ 0.528356] Key type id_resolver registered [ 0.532696] Key type id_legacy registered [ 0.536826] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.543671] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.550359] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.558067] Key type big_key registered [ 0.573417] Key type asymmetric registered [ 0.577633] Asymmetric key parser 'x509' registered [ 0.582795] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.590323] io scheduler noop registered [ 0.594535] io scheduler deadline registered [ 0.598968] io scheduler cfq registered (default) [ 0.605175] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 0.613383] irq: Cannot allocate irq_descs @ IRQ32, assuming pre-allocated [ 0.620820] irq: Cannot allocate irq_descs @ IRQ64, assuming pre-allocated [ 0.628349] mv_xor f1060800.xor: Marvell shared XOR driver [ 0.671188] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 0.678836] mv_xor f1060900.xor: Marvell shared XOR driver [ 0.721188] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 0.729098] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 0.737024] console [ttyS0] disabled [ 0.740820] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A [ 0.749944] console [ttyS0] enabled [ 0.749944] console [ttyS0] enabled [ 0.757081] bootconsole [earlycon0] disabled [ 0.757081] bootconsole [earlycon0] disabled [ 0.767183] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda [ 0.773608] nand: Micron MT29F2G08AAD [ 0.777290] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 0.784920] Scanning device for bad blocks [ 0.948609] libphy: Fixed MDIO Bus: probed [ 0.953140] libphy: orion_mdio_bus: probed [ 0.957984] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 2.041125] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:10:75:1a:3d:0c [ 2.050011] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.056696] ehci-pci: EHCI PCI platform driver [ 2.061260] ehci-orion: EHCI orion driver [ 2.065470] orion-ehci f1050000.ehci: EHCI Host Controller [ 2.071045] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 2.078905] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000 [ 2.100527] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 2.106808] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 2.113659] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.120940] usb usb1: Product: EHCI Host Controller [ 2.125838] usb usb1: Manufacturer: Linux 4.4.0-kirkwood-tld-1 ehci_hcd [ 2.132501] usb usb1: SerialNumber: f1050000.ehci [ 2.137956] hub 1-0:1.0: USB hub found [ 2.141813] hub 1-0:1.0: 1 port detected [ 2.146731] mousedev: PS/2 mouse device common for all mice [ 2.460526] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 2.612162] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608 [ 2.618915] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 2.626122] usb 1-1: Product: USB2.0 Hub [ 2.631014] hub 1-1:1.0: USB hub found [ 2.635162] hub 1-1:1.0: 4 ports detected [ 2.920520] usb 1-1.3: new high-speed USB device number 3 using orion-ehci [ 3.034412] usb 1-1.3: New USB device found, idVendor=13fe, idProduct=4100 [ 3.041352] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3.048714] usb 1-1.3: Product: USB DISK 2.0 [ 3.053019] usb 1-1.3: Manufacturer: [ 3.057396] usb 1-1.3: SerialNumber: 070239F129000800 [ 3.160522] rtc-mv f1010300.rtc: internal RTC not ticking [ 3.166167] i2c /dev entries driver [ 3.170999] hidraw: raw HID events driver (C) Jiri Kosina [ 3.176834] drop_monitor: Initializing network drop monitor service [ 3.183427] NET: Registered protocol family 17 [ 3.188169] Key type dns_resolver registered [ 3.193360] registered taskstats version 1 [ 3.197525] Loading compiled-in X.509 certificates [ 3.202434] zswap: loaded using pool lzo/zbud [ 3.207913] Key type encrypted registered [ 3.212509] hctosys: unable to open rtc device (rtc0) [ 3.219048] Waiting 10 sec before mounting root device... [ 13.230760] VFS: Cannot open root device "sda1" or unknown-block(0,0): error -6 [ 13.238107] Please append a correct "root=" boot option; here are the available partitions: [ 13.246556] 1f00 262144 mtdblock0 (driver?) [ 13.251697] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 13.259998] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.0-kirkwood-tld-1 #1 [ 13.266986] Hardware name: Marvell Kirkwood (Flattened Device Tree) [ 13.273313] [<c0016784>] (unwind_backtrace) from [<c00129f8>] (show_stack+0x10/0x14) [ 13.281097] [<c00129f8>] (show_stack) from [<c00c2200>] (panic+0x80/0x214) [ 13.288013] [<c00c2200>] (panic) from [<c07d9280>] (mount_block_root+0x204/0x24c) [ 13.295535] [<c07d9280>] (mount_block_root) from [<c07d93b4>] (mount_root+0xec/0x118) [ 13.303409] [<c07d93b4>] (mount_root) from [<c07d9504>] (prepare_namespace+0x124/0x184) [ 13.311457] [<c07d9504>] (prepare_namespace) from [<c07d8e9c>] (kernel_init_freeable+0x208/0x258) [ 13.320375] [<c07d8e9c>] (kernel_init_freeable) from [<c05b16b4>] (kernel_init+0x8/0xe4) [ 13.328507] [<c05b16b4>] (kernel_init) from [<c000f090>] (ret_from_fork+0x14/0x24) [ 13.336117] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 80.220520] random: nonblocking pool is initialized
arcNumber=2998 bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec bootcmd_exec=mw 0x800000 0 1; run load_uimage; if run load_initrd; then if run load_dtb; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 0x1100000; fi; else if run load_dtb; then bootm 0x800000 - 0x1c00000; else bootm 0x800000; fi; fi bootcmd_pogo=run bootcmd_rescue bootcmd_rescue=run set_bootargs_rescue; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000 bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootdelay=10 bootdev=usb device=0:1 devices=usb ide mmc disks=0 1 2 3 dtb_file=/boot/dts/kirkwood-dockstar.dtb ethact=egiga0 ethaddr=00:10:75:1A:3D:0C if_netconsole=ping $serverip ipaddr=192.168.2.108 led_error=orange blinking led_exit=green off led_init=green blinking 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 mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) partition=nand0,2 preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi rescue_installed=1 scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if ext2load $dev $disknum:1 0x800000 /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done serverip=192.168.2.129 set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params set_bootargs_rescue=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial uenv_import=echo importing envs ...; env import -t 0x810000 uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done; uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done; uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x810000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi usb_ready_retry=15 Environment size: 3066/131068 bytes
Re: Dockstar Updated uBoot 2015.10 issue April 09, 2016 03:07PM |
Admin Registered: 13 years ago Posts: 18,564 |
Re: Dockstar Updated uBoot 2015.10 issue April 10, 2016 12:26AM |
Registered: 13 years ago Posts: 89 |
[ 5.957682] sda: sda1 [ 5.963443] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 5.973174] sd 0:0:0:0: Attached scsi generic sg0 type 0 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. modprobe: module ext3 not found in modules.dep Begin: Checking root file system ... fsck from util-linux 2.25.2 fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1 fsck exited with status code 8 done. Warning: File system check failed but did not detect errors [ 19.764107] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem [ 19.785350] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
Re: Dockstar Updated uBoot 2015.10 issue April 10, 2016 01:50AM |
Admin Registered: 13 years ago Posts: 18,564 |
It is OK. fstab entry is little out of date, but no harm.Quote
File system check failed but did not detect errors
Since you are booting with ext3 rootfs, that message is there just for information.Quote
mounting ext3 file system using the ext4 subsystem
Re: Dockstar Updated uBoot 2015.10 issue April 10, 2016 08:21AM |
Registered: 13 years ago Posts: 89 |
Re: Dockstar Updated uBoot 2015.10 issue April 14, 2016 10:31PM |
Registered: 13 years ago Posts: 89 |
U-Boot 2015.10-tld-1 (Nov 06 2015 - 15:56:21 -0800) Seagate FreeAgent DockStar SoC: Kirkwood 88F6281_A0 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 starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Unknown command 'ide' - try 'help' Unknown command 'mmc' - try 'help' no USB devices available Unknown command 'ide' - try 'help' Unknown command 'mmc' - try 'help' running scan_disk ... Scan device usb device usb 0:1 ** Bad device usb 0 ** device usb 1:1 ** Bad device usb 1 ** device usb 2:1 ** Bad device usb 2 ** device usb 3:1 ** Bad device usb 3 ** Scan device ide Unknown command 'ide' - try 'help' device ide 0:1 ** Bad device ide 0 ** device ide 1:1 ** Bad device ide 1 ** device ide 2:1 ** Bad device ide 2 ** device ide 3:1 ** Bad device ide 3 ** Scan device mmc Unknown command 'mmc' - try 'help' device mmc 0:1 ** Bad device mmc 0 ** device mmc 1:1 ** Bad device mmc 1 ** device mmc 2:1 ** Bad device mmc 2 ** device mmc 3:1 ** Bad device mmc 3 ** loading uImage ... ** Bad device usb 0 ** loading uInitrd ... ** Bad device usb 0 ** loading DTB /boot/dts/kirkwood-dockstar.dtb ... ** Bad device usb 0 ** Wrong Image Format for bootm command ERROR: can't get kernel image! DockStar>
bootcmd_exec=mw 0x800000 0 1; run load_uimage; if run load_initrd; then if run load_dtb; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 0x1100000; fi; else if run load_dtb; then bootm 0x800000 - 0x1c00000; else bootm 0x800000; fi; fi bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootdelay=10 bootdev=usb device=0:1 devices=usb ide mmc disks=0 1 2 3 ethact=egiga0 if_netconsole=ping $serverip led_error=orange blinking led_exit=green off led_init=green blinking 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 mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) partition=nand0,2 scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if ext2load $dev $disknum:1 0x800000 /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial uenv_import=echo importing envs ...; env import -t 0x810000 uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done; uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done; uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x810000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi usb_ready_retry=15 arcNumber=2998 ethaddr=00:10:75:1A:3D:0C ipaddr=192.168.2.108 dtb_file=/boot/dts/kirkwood-dockstar.dtb serverip=192.168.2.129 preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi set_bootargs_rescue=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts bootcmd_rescue=run set_bootargs_rescue; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000 bootcmd_pogo=run bootcmd_rescue rescue_installed=1
Re: Dockstar Updated uBoot 2015.10 issue April 15, 2016 03:55AM |
Admin Registered: 13 years ago Posts: 18,564 |
setenv bootcmd 'run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; run bootcmd_rescue'
fw_setenv bootcmd 'run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; run bootcmd_rescue'
Re: Dockstar Updated uBoot 2015.10 issue April 15, 2016 08:27AM |
Registered: 13 years ago Posts: 89 |