|
Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood January 30, 2016 04:02PM |
Registered: 11 years ago Posts: 56 |
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: 512 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-pogo_e02.dtb ...
** Bad device usb 0 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
DockStar>
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: 512 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 62 4720578 000e136b-01 83 Boot
2 4720640 2097152 000e136b-02 83
3 6817792 524288 000e136b-03 82
4 7342080 495616 000e136b-04 0b
loading envs from usb 0 ...
2813 bytes read in 161 ms (16.6 KiB/s)
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'
importing envs ...
## Info: input data size = 10477 = 0x28ED
" (type: m)lags type check failure for "ethaddr" <= "00:10:75:1A:07:CA
" into hash tableinsert "ethaddr=00:10:75:1A:07:CA
" into hash tableinsert "stderr=nc
" into hash tableinsert "stdin=nc
" into hash tableinsert "stdout=nc
" (type: i)lags type check failure for "serverip" <= "192.168.1.173
" into hash tableinsert "serverip=192.168.1.173
" (type: i)lags type check failure for "ipaddr" <= "192.168.1.201
" into hash tableinsert "ipaddr=192.168.1.201
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 145 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
3158896 bytes read in 353 ms (8.5 MiB/s)
loading uInitrd ...
** File not found /boot/uInitrd **
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
** File not found /boot/dts/kirkwood-pogo_e02.dtb **
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.6.4-1-ARCH
Created: 2012-10-29 16:22:43 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3158832 Bytes = 3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 2.778155] rtc-mv rtc-mv: internal RTC not ticking
[ 2.785883] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 3.632757] sd 0:0:0:0: [sda] No Caching mode page present
[ 3.638911] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 3.648257] sd 0:0:0:0: [sda] No Caching mode page present
[ 3.653778] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 3.666000] sd 0:0:0:0: [sda] No Caching mode page present
[ 3.671556] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 12.798540] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 12.806866] [<c000d074>] (unwind_backtrace+0x0/0xe0) from [<c04366c4>] (panic+0x80/0x1dc)
[ 12.815090] [<c04366c4>] (panic+0x80/0x1dc) from [<c05c1cec>] (mount_block_root+0x234/0x284)
[ 12.823569] [<c05c1cec>] (mount_block_root+0x234/0x284) from [<c05c1ff8>] (prepare_namespace+0x15c/0x1bc)
[ 12.833185] [<c05c1ff8>] (prepare_namespace+0x15c/0x1bc) from [<c05c1974>] (kernel_init+0x1bc/0x1fc)
[ 12.842359] [<c05c1974>] (kernel_init+0x1bc/0x1fc) from [<c0009588>] (kernel_thread_exit+0x0/0x8)
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: 512 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 5242880 c3072e18-01 83
2 5244928 524288 c3072e18-02 82
3 6817792 1091584 c3072e18-03 0b
4 5769216 1048576 c3072e18-04 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 113 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
4518104 bytes read in 327 ms (13.2 MiB/s)
loading uInitrd ...
** File not found /boot/uInitrd **
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
** File not found /boot/dts/kirkwood-pogo_e02.dtb **
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-4.3.3-1-ARCH
Created: 2015-12-18 5:16:49 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4518040 Bytes = 4.3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
Starting 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.3.3-1-ARCH (builduser@leming) (gcc version 5.3.0 (GCC) ) #1 PREEMPT Thu Dec 17 22:16:31 MST 2015
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Seagate FreeAgent DockStar
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32480
[ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
[ 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: 119828K/131072K available (6499K kernel code, 538K rwdata, 1852K rodata, 300K init, 725K bss, 11244K 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 - 0xff000000 ( 872 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0830080 (8353 kB)
[ 0.000000] .init : 0xc0831000 - 0xc087c000 ( 300 kB)
[ 0.000000] .data : 0xc087c000 - 0xc090283c ( 539 kB)
[ 0.000000] .bss : 0xc090283c - 0xc09b7d78 ( 726 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:114
[ 0.000013] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[ 0.364025] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[ 0.364211] Console: colour dummy device 80x30
[ 0.364239] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[ 0.454108] pid_max: default: 32768 minimum: 301
[ 0.454198] Security Framework initialized
[ 0.454269] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.454287] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.455006] Initializing cgroup subsys io
[ 0.455051] Initializing cgroup subsys memory
[ 0.455115] Initializing cgroup subsys devices
[ 0.455143] Initializing cgroup subsys freezer
[ 0.455165] Initializing cgroup subsys net_cls
[ 0.455184] Initializing cgroup subsys bfqio
[ 0.455204] Initializing cgroup subsys perf_event
[ 0.455226] Initializing cgroup subsys net_prio
[ 0.455303] CPU: Testing write buffer coherency: ok
[ 0.455748] Setting up static identity map for 0x81e0 - 0x8238
[ 0.457608] devtmpfs: initialized
[ 0.459942] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.460372] pinctrl core: initialized pinctrl subsystem
[ 0.461151] NET: Registered protocol family 16
[ 0.461619] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.484114] cpuidle: using governor ladder
[ 0.514111] cpuidle: using governor menu
[ 0.514273] Kirkwood: MV88F6281-A0, TCLK=200000000.
[ 0.514298] Feroceon L2: Enabling L2
[ 0.514337] Feroceon L2: Cache support initialised.
[ 0.555631] vgaarb: loaded
[ 0.555966] SCSI subsystem initialized
[ 0.556478] usbcore: registered new interface driver usbfs
[ 0.556555] usbcore: registered new interface driver hub
[ 0.556616] usbcore: registered new device driver usb
[ 0.556788] pps_core: LinuxPPS API ver. 1 registered
[ 0.556798] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.556832] PTP clock support registered
[ 0.557890] clocksource: Switched to clocksource orion_clocksource
[ 0.596600] FS-Cache: Loaded
[ 0.609740] NET: Registered protocol family 2
[ 0.610537] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.610562] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.610582] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.610654] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.610677] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.610866] NET: Registered protocol family 1
[ 0.611185] RPC: Registered named UNIX socket transport module.
[ 0.611198] RPC: Registered udp transport module.
[ 0.611205] RPC: Registered tcp transport module.
[ 0.611212] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.613257] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.625901] VFS: Disk quotas dquot_6.6.0
[ 0.626169] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.628304] FS-Cache: Netfs 'nfs' registered for caching
[ 0.629212] NFS: Registering the id_resolver key type
[ 0.629261] Key type id_resolver registered
[ 0.629270] Key type id_legacy registered
[ 0.629355] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.630443] fuse init (API version 7.23)
[ 0.632776] aufs 4.3-20151116
[ 0.638254] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.638278] io scheduler noop registered
[ 0.638294] io scheduler deadline registered
[ 0.638569] io scheduler cfq registered
[ 0.639009] io scheduler bfq registered (default)
[ 0.639018] BFQ I/O-scheduler: v7r8
[ 0.639208] mv_xor mv_xor.0: Marvell shared XOR driver
[ 0.679078] mv_xor mv_xor.0: Marvell XOR (Registers Mode): ( xor cpy )
[ 0.679318] mv_xor mv_xor.1: Marvell shared XOR driver
[ 0.719114] mv_xor mv_xor.1: Marvell XOR (Registers Mode): ( xor cpy )
[ 0.724672] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.725779] console [ttyS0] disabled
[ 0.745889] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A
[ 1.305136] console [ttyS0] enabled
[ 1.323730] brd: module loaded
[ 1.333917] loop: module loaded
[ 1.338029] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xdc
[ 1.344409] nand: Samsung NAND 512MiB 3,3V 8-bit
[ 1.349093] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 1.356707] Scanning device for bad blocks
[ 1.396051] Bad eraseblock 461 at 0x0000039a0000
[ 1.560177] Bad eraseblock 2553 at 0x000013f20000
[ 1.613121] Bad eraseblock 3186 at 0x000018e40000
[ 1.628194] Bad eraseblock 3322 at 0x000019f40000
[ 1.677342] Bad eraseblock 3905 at 0x00001e820000
[ 1.696588] 4 cmdlinepart partitions found on MTD device orion_nand
[ 1.702896] Creating 4 MTD partitions on "orion_nand":
[ 1.708081] 0x000000000000-0x000000100000 : "u-boot"
[ 1.713563] 0x000000100000-0x000000500000 : "uImage"
[ 1.719027] 0x000000500000-0x000002500000 : "rootfs"
[ 1.724500] 0x000002500000-0x000020000000 : "data"
[ 1.737255] libphy: orion_mdio_bus: probed
[ 1.741520] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 2.828823] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[ 2.837768] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.844364] ehci-pci: EHCI PCI platform driver
[ 2.848910] ehci-orion: EHCI orion driver
[ 2.853011] orion-ehci orion-ehci.0: EHCI Host Controller
[ 2.858486] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 2.866238] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 2.887920] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 2.894826] hub 1-0:1.0: USB hub found
[ 2.898680] hub 1-0:1.0: 1 port detected
[ 2.903230] usbcore: registered new interface driver uas
[ 2.908759] usbcore: registered new interface driver usb-storage
[ 2.914850] usbcore: registered new interface driver ums-alauda
[ 2.920898] usbcore: registered new interface driver ums-cypress
[ 2.926994] usbcore: registered new interface driver ums-datafab
[ 2.933107] usbcore: registered new interface driver ums_eneub6250
[ 2.939390] usbcore: registered new interface driver ums-freecom
[ 2.945481] usbcore: registered new interface driver ums-isd200
[ 2.951503] usbcore: registered new interface driver ums-jumpshot
[ 2.957680] usbcore: registered new interface driver ums-karma
[ 2.963615] usbcore: registered new interface driver ums-onetouch
[ 2.969826] usbcore: registered new interface driver ums-realtek
[ 2.975915] usbcore: registered new interface driver ums-sddr09
[ 2.981935] usbcore: registered new interface driver ums-sddr55
[ 2.987952] usbcore: registered new interface driver ums-usbat
[ 2.994249] mousedev: PS/2 mouse device common for all mice
[ 3.217921] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 3.370492] hub 1-1:1.0: USB hub found
[ 3.374623] hub 1-1:1.0: 4 ports detected
[ 3.657916] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[ 3.771031] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 3.777644] scsi host0: usb-storage 1-1.2:1.0
[ 4.007913] rtc-mv rtc-mv: internal RTC not ticking
[ 4.012965] i2c /dev entries driver
[ 4.017102] sdhci: Secure Digital Host Controller Interface driver
[ 4.023334] sdhci: Copyright(c) Pierre Ossman
[ 4.027780] sdhci-pltfm: SDHCI platform and OF driver helper
[ 4.034036] ledtrig-cpu: registered to indicate activity on CPUs
[ 4.040256] usbcore: registered new interface driver r8712u
[ 4.046099] gre: GRE over IPv4 demultiplexor driver
[ 4.051071] NET: Registered protocol family 17
[ 4.055659] Key type dns_resolver registered
[ 4.061016] registered taskstats version 1
[ 4.066939] Key type encrypted registered
[ 4.071598] console [netcon0] enabled
[ 4.075278] netconsole: network logging started
[ 4.079984] hctosys: unable to open rtc device (rtc0)
[ 4.086162] Waiting 10 sec before mounting root device...
[ 5.008349] scsi 0:0:0:0: Direct-Access JetFlash Transcend 4GB 1100 PQ: 0 ANSI: 4
[ 5.017793] sd 0:0:0:0: [sda] 7909376 512-byte logical blocks: (4.04 GB/3.77 GiB)
[ 5.025501] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 5.031540] sd 0:0:0:0: [sda] Write Protect is off
[ 5.037104] sd 0:0:0:0: [sda] No Caching mode page found
[ 5.042502] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 5.053894] sda: sda1 sda2 sda3 sda4
[ 5.061280] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 14.098153] VFS: Cannot open root device "LABEL=rootfs" or unknown-block(0,0): error -6
[ 14.106191] Please append a correct "root=" boot option; here are the available partitions:
[ 14.114669] 0100 8192 ram0 (driver?)
[ 14.119364] 0101 8192 ram1 (driver?)
[ 14.124009] 0102 8192 ram2 (driver?)
[ 14.128697] 0103 8192 ram3 (driver?)
[ 14.133339] 0104 8192 ram4 (driver?)
[ 14.138024] 0105 8192 ram5 (driver?)
[ 14.142670] 0106 8192 ram6 (driver?)
[ 14.147317] 0107 8192 ram7 (driver?)
[ 14.151984] 0108 8192 ram8 (driver?)
[ 14.156631] 0109 8192 ram9 (driver?)
[ 14.161296] 010a 8192 ram10 (driver?)
[ 14.166031] 010b 8192 ram11 (driver?)
[ 14.170784] 010c 8192 ram12 (driver?)
[ 14.175517] 010d 8192 ram13 (driver?)
[ 14.180271] 010e 8192 ram14 (driver?)
[ 14.185006] 010f 8192 ram15 (driver?)
[ 14.189762] 0800 3954688 sda driver: sd
[ 14.194404] 0801 2621440 sda1 c3072e18-01
[ 14.199333] 0802 262144 sda2 c3072e18-02
[ 14.204240] 0803 545792 sda3 c3072e18-03
[ 14.209169] 0804 524288 sda4 c3072e18-04
[ 14.214078] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 14.222379] CPU: 0 PID: 1 Comm: swapper Not tainted 4.3.3-1-ARCH #1
[ 14.228671] Hardware name: Seagate FreeAgent DockStar
[ 14.233764] [<c00105a8>] (unwind_backtrace) from [<c000da2c>] (show_stack+0x10/0x14)
[ 14.241558] [<c000da2c>] (show_stack) from [<c00c9504>] (panic+0x88/0x200)
[ 14.248468] [<c00c9504>] (panic) from [<c08322d4>] (mount_block_root+0x1a4/0x260)
[ 14.255989] [<c08322d4>] (mount_block_root) from [<c083257c>] (mount_root+0xf0/0x11c)
[ 14.263854] [<c083257c>] (mount_root) from [<c0832704>] (prepare_namespace+0x15c/0x1bc)
[ 14.271895] [<c0832704>] (prepare_namespace) from [<c0831ebc>] (kernel_init_freeable+0x20c/0x25c)
[ 14.280812] [<c0831ebc>] (kernel_init_freeable) from [<c062edc4>] (kernel_init+0x8/0xec)
[ 14.288944] [<c062edc4>] (kernel_init) from [<c000a4d0>] (ret_from_fork+0x14/0x24)
[ 14.296546] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 74.767912] random: nonblocking pool is initialized
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood January 30, 2016 05:01PM |
Admin Registered: 13 years ago Posts: 18,576 |
setenv dtb_file /boot/dtbs/kirkwood-pogo_e02.dtb boot
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood January 30, 2016 06:54PM |
Registered: 11 years ago Posts: 56 |
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood January 30, 2016 07:19PM |
Admin Registered: 13 years ago Posts: 18,576 |
setenv dtb_file setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts $custom_params' boot
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood January 30, 2016 08:13PM |
Registered: 11 years ago Posts: 56 |
[FAILED] Failed to start Login Service.
See 'systemctl status systemd-logind.service' for details.
[ OK ] Started Permit User Sessions.
[FAILED] Failed to start Network Service.
See 'systemctl status systemd-networkd.service' for details.
[ OK ] Found device /dev/ttyS0.
[ OK ] Stopped Network Service.
Starting Network Service...
[ OK ] Stopped Login Service.
Starting Login Service...
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Reached target Login Prompts.
[FAILED] Failed to start Network Service.
See 'systemctl status systemd-networkd.service' for details.
[ OK ] Started Login Service.
[ OK ] Stopped Network Service.
Starting Network Service...
[FAILED] Failed to start Network Service.
See 'systemctl status systemd-networkd.service' for details.
[ OK ] Stopped Network Service.
Starting Network Service...
[FAILED] Failed to start Network Service.
See 'systemctl status systemd-networkd.service' for details.
[ OK ] Stopped Network Service.
Starting Network Service...
[FAILED] Failed to start Network Service.
See 'systemctl status systemd-networkd.service' for details.
[ OK ] Stopped Network Service.
[FAILED] Failed to start Network Service.
See 'systemctl status systemd-networkd.service' for details.
[ OK ] Reached target Network.
Starting Network Name Resolution...
[FAILED] Failed to start Network Name Resolution.
See 'systemctl status systemd-resolved.service' for details.
[ OK ] Stopped Network Name Resolution.
Starting Network Name Resolution...
[FAILED] Failed to start Network Name Resolution.
See 'systemctl status systemd-resolved.service' for details.
[ OK ] Stopped Network Name Resolution.
Starting Network Name Resolution...
[FAILED] Failed to start Network Name Resolution.
See 'systemctl status systemd-resolved.service' for details.
[ OK ] Stopped Network Name Resolution.
Starting Network Name Resolution...
[FAILED] Failed to start Network Name Resolution.
See 'systemctl status systemd-resolved.service' for details.
[ OK ] Stopped Network Name Resolution.
Starting Network Name Resolution...
[FAILED] Failed to start Network Name Resolution.
See 'systemctl status systemd-resolved.service' for details.
[ OK ] Stopped Network Name Resolution.
[FAILED] Failed to start Network Name Resolution.
See 'systemctl status systemd-resolved.service' for details.
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood January 31, 2016 08:55AM |
Admin Registered: 13 years ago Posts: 18,576 |
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood January 31, 2016 10:40AM |
Registered: 11 years ago Posts: 56 |
> setenv dtb_file > setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts $custom_params' > boot >
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood January 31, 2016 11:54AM |
Admin Registered: 13 years ago Posts: 18,576 |
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood January 31, 2016 02:46PM |
Registered: 11 years ago Posts: 56 |
[root@alarm mkinitcpio.d]# dmesg [29.579634] MV-CESA:Could not register sha1 driver [29.590677] MV-CESA:Could not register hmac-sha1 driver
ip link set eth0 up dhcpcd eth0
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood January 31, 2016 03:25PM |
Admin Registered: 13 years ago Posts: 18,576 |
> ip link set eth0 up > dhcpcd eth0 >
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood January 31, 2016 05:38PM |
Registered: 11 years ago Posts: 56 |
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood January 31, 2016 06:30PM |
Admin Registered: 13 years ago Posts: 18,576 |
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood February 05, 2016 09:41AM |
Registered: 11 years ago Posts: 56 |
chown root / chmod 755 /
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood February 05, 2016 12:58PM |
Admin Registered: 13 years ago Posts: 18,576 |
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood February 05, 2016 02:25PM |
Admin Registered: 13 years ago Posts: 18,576 |
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood February 05, 2016 04:26PM |
Registered: 11 years ago Posts: 56 |
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood February 05, 2016 05:43PM |
Admin Registered: 13 years ago Posts: 18,576 |
> chown root / > chmod 755 / >
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood February 06, 2016 12:45PM |
Registered: 11 years ago Posts: 56 |
[ 802.082540] shutdown[1]: Detaching loop devices. [ 802.093791] shutdown[1]: All loop devices detached. [ 802.098748] shutdown[1]: Detaching DM devices. [ 802.103852] shutdown[1]: All DM devices detached. [ 802.110263] shutdown[1]: Rebooting. [ 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.1-1-ARCH (builduser@leming) (gcc version 5.3.0 (GCC) ) #1 PREEMPT Tue Feb 2 07:05:54 MST 2016
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood February 06, 2016 02:54PM |
Admin Registered: 13 years ago Posts: 18,576 |
whoamiThen extract with a tar command (no sudo, you are root)
tar xf .......
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood February 06, 2016 03:19PM |
Registered: 11 years ago Posts: 56 |
dev: size erasesize name (original Pogo) mtd0: 00100000 00020000 "u-boot" mtd1: 00400000 00020000 "uImage" mtd2: 02000000 00020000 "rootfs" mtd3: 1db00000 00020000 "data"
dev: size erasesize name (Arch Uboot) mtd0: 00100000 00020000 "u-boot" mtd1: 1ff00000 00020000 "rootfs" # no mtd2 and mtd3
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood February 06, 2016 04:58PM |
Admin Registered: 13 years ago Posts: 18,576 |
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood February 07, 2016 11:20AM |
Registered: 11 years ago Posts: 56 |
root@alarm etc# pacman -S uboot-dockstar warning: uboot-dockstar-2015.10-1 is up to date -- reinstalling resolving dependencies... looking for conflicting packages... Packages (1) uboot-dockstar-2015.10-1 Total Installed Size: 0.63 MiB Net Upgrade Size: 0.00 MiB :: Proceed with installation? [Y/n] y (1/1) checking keys in keyring [######################] 100% (1/1) checking package integrity [######################] 100% (1/1) loading package files [######################] 100% (1/1) checking for file conflicts [######################] 100% (1/1) checking available disk space [######################] 100% :: Processing package changes... (1/1) reinstalling uboot-dockstar [######################] 100% A new U-Boot version needs to be flashed to NAND. Do you want to do this now? [y|N] y Erasing 128 Kibyte @ 60000 -- 100 % complete Erasing 128 Kibyte @ c0000 -- 100 % complete Writing data to block 0 at offset 0x0 Writing data to block 1 at offset 0x20000 Writing data to block 2 at offset 0x40000 Writing data to block 3 at offset 0x60000 Writing data to block 6 at offset 0xc0000 root@alarm ~#
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood February 08, 2016 07:41AM |
Registered: 11 years ago Posts: 56 |
ipaddr=192.168.2.29 ncip=192.168.2.27 ncipk=192.168.2.27
U-Boot 2015.10-1 (Nov 28 2015 - 01:53:40 -0700) Arch Linux ARM
Seagate FreeAgent DockStar
SoC: Kirkwood 88F6281_A0
DRAM: 128 MiB (ECC not enabled)
WARNING: Caches not enabled
NAND: 512 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
Using egiga0 device
host 192.168.2.27 is alive
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.1-1-ARCH (builduser@leming) (gcc version 5.3.0 (GCC) ) #1 PREEMPT Tue Feb 2 07:07:27 MST 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] debug: ignoring loglevel setting.
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat c0927b8c, node_mem_map c7ed9000
[ 0.000000] Normal zone: 288 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32480
[ 186.975003] EXT4-fs (sda1): re-mounted. Opts: data=ordered
[ 186.980640] shutdown[1]: Unmounting /oldroot.
[ 187.042987] shutdown[1]: Remounting '/' read-only with options 'mode=755'.
[ 187.050682] shutdown[1]: Remounting '/' read-only with options 'mode=755'.
[ 187.057838] shutdown[1]: All filesystems unmounted.
[ 187.062880] shutdown[1]: Deactivating swaps.
[ 187.067506] shutdown[1]: All swaps deactivated.
[ 187.072403] shutdown[1]: Detaching loop devices.
[ 187.083766] shutdown[1]: All loop devices detached.
[ 187.088734] shutdown[1]: Detaching DM devices.
[ 187.093824] shutdown[1]: All DM devices detached.
[ 187.100472] shutdown[1]: Rebooting.
[ 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.1-1-ARCH (builduser@leming) (gcc version 5.3.0 (GCC) ) #1 PREEMPT Tue Feb 2 07:07:27 MST 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] debug: ignoring loglevel setting.
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat c0927b8c, node_mem_map c7ed9000
[ 0.000000] Normal zone: 288 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32480
root@alarm ~]# fw_printenv
bootcmd=run startboot;run bootubi
bootdir=/boot
bootfilem=uImage
bootfilez=zImage
bootubi=echo Trying to boot from NAND ...;if run mountubi; then ubifsload ${loadaddr} /boot/zImage;ubifsload ${fdtaddr} /boot/dtbs/${fdtfile};ubifsumount; setenv bootargs console=${console} ubi.mtd=1 root=ubi0:rootfs ro rootfstype=ubifs rootwait ${mtdparts};bootz ${loadaddr} - ${fdtaddr};fi
console=ttyS0,115200
ethact=egiga0
fdtaddr=0x800000
fdtdir=/boot/dtbs
fdtfile=kirkwood-dockstar.dtb
ipaddr=10.10.10.3
loadaddr=0x810000
loadfdt=echo loading ${fdtdir}/${fdtfile} ...; load ${devtype} ${bootpart} ${fdtaddr} ${fdtdir}/${fdtfile}
loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfilez} || load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfilem}
loadrd=load ${devtype} ${bootpart} ${rdaddr} ${bootdir}/${rdfile}
mainargs=setenv bootargs console=${console} ${mtdparts} root=${root} rw rootwait ${optargs} ${ncargs}
mountubi=ubi part rootfs; ubifsmount ubi0:rootfs
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),-(rootfs)
ncip=10.10.10.5
ncipk=10.10.10.4
netconsole=on
preboot=if env exists netconsole && test ${netconsole} = on; then if ping ${ncip}; then setenv stdin nc; setenv stdout nc; setenv stderr nc; version; if env exists ncargsusr; then echo ncargs has been defined by user; setenv ncargs ${ncargsusr}; else setenv ncargs ignore_loglevel netconsole=6665@${ipaddr}/eth0,6666@${ncipk}/; fi; fi; else echo Netconsole has been turned off.; echo To turn it on, set netconsole variable to on.; setenv stdin; setenv stdout; setenv stderr; setenv ncargs; fi
rdaddr=0x1100000
rdfile=initramfs-linux.img
startboot=usb start; for devtype in usb; do setenv devnum 0; while ${devtype} dev ${devnum}; do echo ${devtype} found on device ${devnum}; setenv bootpart ${devnum}:1; echo Checking for: ${bootdir}/uEnv.txt ...; if test -e ${devtype} ${bootpart} ${bootdir}/uEnv.txt; then load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/uEnv.txt; env import -t ${loadaddr} ${filesize}; echo Loaded environment from ${bootdir}/uEnv.txt; echo Checking if uenvcmd is set ...; if test -n ${uenvcmd}; then echo Running uenvcmd ...; run uenvcmd; fi; fi; if run loadimage; then if env exists root; then echo root has been defined by user; else part uuid ${devtype} ${bootpart} uuid; setenv root PARTUUID=${uuid}; fi; run mainargs; if run loadfdt; then if run loadrd; then bootz ${loadaddr} ${rdaddr}:${filesize} ${fdtaddr}; else bootz ${loadaddr} - ${fdtaddr}; fi; else if run loadrd; then echo Booting uImage with initrd; bootm ${loadaddr} ${rdaddr}:${filesize}; else bootm ${loadaddr}; fi; fi; else echo No kernel found; fi; setexpr devnum ${devnum} + 1; done; done;
ethaddr=00:11:63:1A:02:UA
root@alarm ~]#
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood February 08, 2016 02:38PM |
Admin Registered: 13 years ago Posts: 18,576 |
picocom --b 115200 --f n --p n --d 8 /dev/ttyUSB0
nc -lup 6666 192.168.2.29
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood February 08, 2016 03:17PM |
Registered: 11 years ago Posts: 56 |
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood February 08, 2016 03:39PM |
Admin Registered: 13 years ago Posts: 18,576 |
auto lo eth0
iface lo inet loopback
iface eth0 inet static
address 192.168.2.29
netmask 255.255.255.0
gateway 192.168.2.1
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood February 08, 2016 07:40PM |
Admin Registered: 13 years ago Posts: 18,576 |
> whoami >> Then extract with a tar command (no sudo, you are
> tar xf ....... >>
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood June 21, 2016 06:22AM |
Registered: 7 years ago Posts: 1 |
setenv dtb_file setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts $custom_params' boot
setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p1 rootdelay=10 $mtdparts $custom_params'
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood June 21, 2016 04:05PM |
Admin Registered: 13 years ago Posts: 18,576 |
|
Re: Booting Arch Linux ARM with 2015.10-tld-1 U-Boot for Kirkwood June 22, 2016 04:32PM |
Admin Registered: 13 years ago Posts: 18,576 |
Quote
moonman
initramfs-linux.img needs to be under /boot