kirkwood uboot for dlink dns-325 February 11, 2025 10:32AM |
Registered: 9 years ago Posts: 8 |
Re: kirkwood uboot for dlink dns-325 February 11, 2025 10:49AM |
Registered: 9 years ago Posts: 8 |
Quote
root@balder:/home/michael/Downloads/u-boot-dns325# ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2021.04-tld-1.dns325.mtd0.kwb -p
Sending boot message. Please reboot the target.../
Sending boot image...
0 % [......................................................................]
1 % [......................................................................]
2 % [......................................................................]
4 % [......................................................................]
5 % [......................................................................]
6 % [......................................................................]
8 % [......................................................................]
9 % [......................................................................]
10 % [......................................................................]
12 % [......................................................................]
13 % [......................................................................]
15 % [......................................................................]
16 % [......................................................................]
17 % [......................................................................]
19 % [......................................................................]
20 % [......................................................................]
21 % [......................................................................]
23 % [......................................................................]
24 % [......................................................................]
25 % [......................................................................]
27 % [......................................................................]
28 % [......................................................................]
30 % [......................................................................]
31 % [......................................................................]
32 % [......................................................................]
34 % [......................................................................]
35 % [......................................................................]
36 % [......................................................................]
38 % [......................................................................]
39 % [......................................................................]
41 % [......................................................................]
42 % [......................................................................]
43 % [......................................................................]
45 % [......................................................................]
46 % [......................................................................]
47 % [......................................................................]
49 % [......................................................................]
50 % [......................................................................]
51 % [......................................................................]
53 % [......................................................................]
54 % [......................................................................]
56 % [......................................................................]
57 % [......................................................................]
58 % [......................................................................]
60 % [......................................................................]
61 % [......................................................................]
62 % [......................................................................]
64 % [......................................................................]
65 % [......................................................................]
67 % [......................................................................]
68 % [......................................................................]
69 % [......................................................................]
71 % [......................................................................]
72 % [......................................................................]
73 % [......................................................................]
75 % [......................................................................]
76 % [......................................................................]
77 % [......................................................................]
79 % [......................................................................]
80 % [......................................................................]
82 % [......................................................................]
83 % [......................................................................]
84 % [......................................................................]
86 % [......................................................................]
87 % [......................................................................]
88 % [......................................................................]
90 % [......................................................................]
91 % [......................................................................]
92 % [......................................................................]
94 % [......................................................................]
95 % [......................................................................]
97 % [......................................................................]
98 % [......................................................................]
99 % [..........]
[Type Ctrl-\ + c to quit]
U-Boot 2021.04-tld-1 (Jun 04 2021 - 18:27:16 -0700)
D-Link DNS-325
SoC: Kirkwood 88F6281_A1
DRAM: 256 MiB
NAND: 128 MiB
Loading Environment from NAND... *** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: egiga0
Hit any key to stop autoboot: 0
starting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices...
USB retry period from the environment: 15 second(s)
Use USB retry period from the environment: 15 second(s)
2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
Partition Map for USB device 0 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 2040 7829010 823ef3a6-01 83
loading envs from usb 0 ...
Failed to load '/boot/uEnv.txt'
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 7 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
6235609 bytes read in 238 ms (25 MiB/s)
loading uInitrd ...
5791271 bytes read in 207 ms (26.7 MiB/s)
loading DTB /boot/dts/kirkwood-dns325.dtb ...
13079 bytes read in 17 ms (751 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-6.5.7-kirkwood-tld-1
Created: 2025-02-10 22:20:34 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 6235545 Bytes = 5.9 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-6.5.7-kirkwood-tld-1
Created: 2023-10-31 22:53:55 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 5791207 Bytes = 5.5 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
Loading Ramdisk to 0f5af000, end 0fb34de7 ... OK
Loading Device Tree to 0f5a8000, end 0f5ae316 ... OK
Quote
Starting kernel ...
[ 0.000000][ T0] Booting Linux on physical CPU 0x0
[ 0.000000][ T0] Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023
[ 0.000000][ T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000][ T0] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000][ T0] OF: fdt: Machine model: Seagate GoFlex Net
[ 0.000000][ T0] printk: bootconsole [earlycon0] enabled
[ 0.000000][ T0] Memory policy: Data cache writeback
[ 0.000000][ T0] Zone ranges:
[ 0.000000][ T0] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000][ T0] Movable zone start for each node
[ 0.000000][ T0] Early memory node ranges
[ 0.000000][ T0] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000][ T0] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000][ T0] Kernel command line: console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10
[ 0.000000][ T0] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000][ T0] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000][ T0] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 0.000000][ T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[ 0.000000][ T0] Memory: 108180K/131072K available (12288K kernel code, 1755K rwdata, 5416K rodata, 1024K init, 301K bss, 22892K reserved, 0K cma-reserved)
[ 0.000000][ T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000][ T0] trace event string verifier disabled
[ 0.000000][ T0] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000][ T0] Trampoline variant of Tasks RCU enabled.
[ 0.000000][ T0] Tracing variant of Tasks RCU enabled.
[ 0.000000][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000][ T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000][ T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000][ T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[ 0.000002][ T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[ 0.008622][ T0] Switching to timer-based delay loop, resolution 5ns
[ 0.015886][ T0] Console: colour dummy device 80x30
[ 0.021192][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[ 0.032546][ T0] CPU: Testing write buffer coherency: ok
[ 0.038300][ T0] pid_max: default: 32768 minimum: 301
[ 0.052586][ T0] LSM: initializing lsm=capability,integrity
[ 0.060969][ T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.069107][ T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.090665][ T1] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[ 0.098932][ T1] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[ 0.107763][ T1] Setting up static identity map for 0x100000 - 0x100058
[ 0.115121][ T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[ 0.121507][ T1] rcu: Hierarchical SRCU implementation.
[ 0.127044][ T1] rcu: Max phase no-delay instances is 1000.
[ 0.136207][ T1] devtmpfs: initialized
[ 0.150915][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.161638][ T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.172079][ T1] prandom: seed boundary self test passed
[ 0.182009][ T1] prandom: 100 self tests passed
[ 0.186849][ T1] pinctrl core: initialized pinctrl subsystem
[ 0.196851][ T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.205194][ T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.218317][ T1] audit: initializing netlink subsys (disabled)
[ 0.226684][ T1] thermal_sys: Registered thermal governor 'step_wise'
[ 0.226861][ T1] cpuidle: using governor ladder
[ 0.238507][ T19] audit: type=2000 audit(0.210:1): state=initialized audit_enabled=0 res=1
[ 0.247171][ T1] cpuidle: using governor menu
[ 0.252527][ T1] Feroceon L2: Enabling L2
[ 0.256870][ T1] Feroceon L2: Cache support initialised.
[ 0.272658][ T1] No ATAGs?
[ 0.638639][ T1] raid6: int32x8 gen() 109 MB/s
[ 0.978639][ T1] raid6: int32x4 gen() 106 MB/s
[ 1.318666][ T1] raid6: int32x2 gen() 139 MB/s
[ 1.658639][ T1] raid6: int32x1 gen() 97 MB/s
[ 1.663644][ T1] raid6: using algorithm int32x2 gen() 139 MB/s
[ 2.018638][ T1] raid6: .... xor() 86 MB/s, rmw enabled
[ 2.024164][ T1] raid6: using intx1 recovery algorithm
[ 2.040383][ T1] SCSI subsystem initialized
[ 2.049182][ T1] usbcore: registered new interface driver usbfs
[ 2.055509][ T1] usbcore: registered new interface driver hub
[ 2.078712][ T1] usbcore: registered new device driver usb
[ 2.084891][ T1] pps_core: LinuxPPS API ver. 1 registered
[ 2.098703][ T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 2.118659][ T1] PTP clock support registered
[ 2.131270][ T1] vgaarb: loaded
[ 2.139323][ T1] clocksource: Switched to clocksource orion_clocksource
[ 2.168265][ T1] VFS: Disk quotas dquot_6.6.0
[ 2.189776][ T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 2.227371][ T1] NET: Registered PF_INET protocol family
[ 2.249650][ T1] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 2.269520][ T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 2.278944][ T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 2.299369][ T1] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 2.307796][ T1] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 2.329365][ T1] TCP: Hash tables configured (established 1024 bind 1024)
[ 2.337171][ T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 2.369592][ T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 2.376883][ T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 2.400242][ T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 2.420176][ T1] RPC: Registered named UNIX socket transport module.
[ 2.426837][ T1] RPC: Registered udp transport module.
[ 2.432348][ T1] RPC: Registered tcp transport module.
[ 2.437780][ T1] RPC: Registered tcp-with-tls transport module.
[ 2.459344][ T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 2.466538][ T1] PCI: CLS 0 bytes, default 32
[ 3.634313][ T1] Initialise system trusted keyrings
[ 3.640715][ T1] Key type blacklist registered
[ 3.645882][ T1] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 3.653342][ T1] zbud: loaded
[ 3.675870][ T1] NFS: Registering the id_resolver key type
[ 3.681764][ T1] Key type id_resolver registered
[ 3.686677][ T1] Key type id_legacy registered
[ 3.691623][ T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 3.699079][ T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 3.708869][ T1] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 3.717589][ T1] fuse: init (API version 7.38)
[ 3.723847][ T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[ 3.731424][ T1] orangefs_init: module version upstream loaded
[ 3.737941][ T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[ 3.959218][ T1] xor: measuring software checksum speed
[ 3.973744][ T1] arm4regs : 1101 MB/sec
[ 3.993588][ T1] 8regs : 667 MB/sec
[ 4.009066][ T1] 32regs : 947 MB/sec
[ 4.014167][ T1] xor: using function: arm4regs (1101 MB/sec)
[ 4.020145][ T1] async_tx: api initialized (async)
[ 4.025231][ T1] Key type asymmetric registered
[ 4.030080][ T1] Asymmetric key parser 'x509' registered
[ 4.045091][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 4.053809][ T1] io scheduler bfq registered
[ 4.248219][ T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[ 4.258167][ T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 4.269252][ T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 4.280676][ T1] mv_xor f1060800.xor: Marvell shared XOR driver
[ 4.352017][ T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[ 4.364964][ T1] mv_xor f1060900.xor: Marvell shared XOR driver
[ 4.432029][ T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[ 4.445342][ T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 4.455244][ T1] printk: console [ttyS0] disabled
[ 4.461032][ T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[ 4.470880][ T1] printk: console [ttyS0] enabled
[ 4.470880][ T1] printk: console [ttyS0] enabled
[ 4.480723][ T1] printk: bootconsole [earlycon0] disabled
[ 4.480723][ T1] printk: bootconsole [earlycon0] disabled
[ 4.523342][ T1] loop: module loaded
[ 4.528322][ T1] sata_mv f1080000.sata: slots 32 ports 2
[ 4.539012][ T1] scsi host0: sata_mv
[ 4.544600][ T1] scsi host1: sata_mv
[ 4.548900][ T1] ata1: SATA max UDMA/133 irq 28
[ 4.553799][ T1] ata2: SATA max UDMA/133 irq 28
[ 4.560023][ T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[ 4.567127][ T1] nand: Samsung NAND 128MiB 3,3V 8-bit
[ 4.572502][ T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 4.580872][ T1] Scanning device for bad blocks
[ 4.645357][ T1] Bad eraseblock 559 at 0x0000045e0000
[ 4.700262][ T1] 4 fixed-partitions partitions found on MTD device orion_nand
[ 4.707702][ T1] Creating 4 MTD partitions on "orion_nand":
[ 4.713598][ T1] 0x000000000000-0x000000100000 : "u-boot"
[ 4.720168][ T1] 0x000000100000-0x000000500000 : "uImage"
[ 4.726662][ T1] 0x000000500000-0x000002500000 : "pogoplug"
[ 4.733575][ T1] 0x000002500000-0x00000fd00000 : "root"
[ 4.739101][ T1] mtd: partition "root" extends beyond the end of device "orion_nand" -- size truncated to 0x5b00000
[ 4.751898][ T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[ 4.760515][ T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[ 4.775824][ T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 0 is missing.
[ 4.784367][ T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 4.793571][ T1] orion-ehci f1050000.ehci: EHCI Host Controller
[ 4.800003][ T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[ 4.808712][ T1] orion-ehci f1050000.ehci: irq 31, io mem 0xf1050000
[ 4.839352][ T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[ 4.846546][ T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[ 4.855624][ T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.863634][ T1] usb usb1: Product: EHCI Host Controller
[ 4.869270][ T1] usb usb1: Manufacturer: Linux 6.5.7-kirkwood-tld-1 ehci_hcd
[ 4.876667][ T1] usb usb1: SerialNumber: f1050000.ehci
[ 4.883203][ T1] hub 1-0:1.0: USB hub found
[ 4.887769][ T1] hub 1-0:1.0: 1 port detected
[ 4.892842][ T52] ata1: SATA link down (SStatus 0 SControl F300)
[ 4.899986][ T1] usbcore: registered new interface driver usb-storage
[ 4.907337][ T1] mousedev: PS/2 mouse device common for all mice
[ 4.915682][ T1] rtc-mv f1010300.rtc: registered as rtc0
[ 4.921550][ T1] rtc-mv f1010300.rtc: setting system clock to 2000-01-01T00:33:21 UTC (946686801)
[ 4.931101][ T1] i2c_dev: i2c /dev entries driver
[ 4.937289][ T1] device-mapper: uevent: version 1.0.3
[ 4.943280][ T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[ 4.953261][ T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[ 4.960607][ T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[ 4.967962][ T1] device-mapper: multipath service-time: version 0.3.0 loaded
[ 4.975421][ T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[ 4.985974][ T1] ledtrig-cpu: registered to indicate activity on CPUs
[ 4.992895][ T1] hid: raw HID events driver (C) Jiri Kosina
[ 4.999265][ T1] drop_monitor: Initializing network drop monitor service
[ 5.007886][ T1] NET: Registered PF_INET6 protocol family
[ 5.015679][ T1] Segment Routing with IPv6
[ 5.020180][ T1] RPL Segment Routing with IPv6
[ 5.025012][ T1] In-situ OAM (IOAM) with IPv6
[ 5.030019][ T1] NET: Registered PF_PACKET protocol family
[ 5.036255][ T1] Key type dns_resolver registered
[ 5.060816][ T1] registered taskstats version 1
[ 5.065998][ T1] Loading compiled-in X.509 certificates
[ 5.094095][ T1] Key type .fscrypt registered
[ 5.098762][ T1] Key type fscrypt-provisioning registered
[ 5.111364][ T1] Key type big_key registered
[ 5.121934][ T1] Key type encrypted registered
[ 5.179454][ T49] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 5.203095][ T102] "cryptomgr_test" (102) uses obsolete ecb(arc4) skcipher
[ 5.240735][ T54] ata2: SATA link down (SStatus 0 SControl F300)
[ 5.913342][ T49] usb 1-1: New USB device found, idVendor=13fe, idProduct=4200, bcdDevice= 1.00
[ 5.929364][ T49] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5.937249][ T49] usb 1-1: Product:
[ 5.959344][ T49] usb 1-1: Manufacturer:
[ 5.964266][ T49] usb 1-1: SerialNumber: 07015B331E3EAA03
[ 5.980534][ T49] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 5.999968][ T49] scsi host2: usb-storage 1-1:1.0
[ 7.297183][ T18] scsi 2:0:0:0: Direct-Access PMAP PQ: 0 ANSI: 6
[ 7.321635][ T29] sd 2:0:0:0: [sda] 7831552 512-byte logical blocks: (4.01 GB/3.73 GiB)
[ 7.340379][ T29] sd 2:0:0:0: [sda] Write Protect is off
[ 7.359376][ T29] sd 2:0:0:0: [sda] No Caching mode page found
[ 7.365434][ T29] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 7.386628][ T29] sda: sda1
[ 7.399967][ T29] sd 2:0:0:0: [sda] Attached SCSI removable disk
[ 7.612496][ T1] clk: Disabling unused clocks
[ 7.617483][ T1] Waiting 10 sec before mounting root device...
[ 17.769709][ T49] platform mv643xx_eth_port.0: deferred probe pending
[ 17.776399][ T1] md: Waiting for all devices to be available before autodetect
[ 17.783957][ T1] md: If you don't use raid, use raid=noautodetect
[ 17.790363][ T1] md: Autodetecting RAID arrays.
[ 17.795183][ T1] md: autorun ...
[ 17.798688][ T1] md: ... autorun DONE.
[ 17.815621][ T1] EXT4-fs (sda1): mounted filesystem dae5296d-3ea5-4b26-b639-88809533db89 ro without journal. Quota mode: none.
[ 17.827523][ T1] VFS: Mounted root (ext4 filesystem) readonly on device 8:1.
[ 17.842568][ T1] devtmpfs: mounted
[ 17.849522][ T1] Freeing unused kernel image (initmem) memory: 1024K
[ 17.856979][ T1] Checked W+X mappings: passed, no W+X pages found
[ 17.863443][ T1] Run /sbin/init as init process
INIT: version 3.06 booting
INIT: No inittab.d directory found
Using makefile-style concurrent boot in runlevel S.
Starting hotplug events dispatcher: systemd-udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...done.
Waiting for /dev to be fully populated...[ 21.209683][ T284] orion_wdt: Initial timeout 21 sec
[ 21.989661][ T282] usbcore: registered new interface driver uas
[ 22.043882][ T292] marvell-cesa f1030000.crypto: CESA device successfully registered
[ 22.219983][ T290] sd 2:0:0:0: Attached scsi generic sg0 type 0
done.
Setting hostname to 'debian'...done.
Activating swap:.
[ 24.101145][ T450] EXT4-fs (sda1): re-mounted dae5296d-3ea5-4b26-b639-88809533db89 ro. Quota mode: none.
Will now check root file system:[/sbin/fsck.ext2 (1) -- /] fsck.ext2 -y -C0 /dev/sda1
e2fsck 1.47.0 (5-Feb-2023)
rootfs: clean, 20046/244800 files, 203151/978626 blocks
.
[ 24.890926][ T457] EXT4-fs (sda1): re-mounted dae5296d-3ea5-4b26-b639-88809533db89 r/w. Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
/tmp.
[ 27.991865][ T119] random: crng init done
Will now mount local filesystems:.
Will now activate swapfile swap, if any:done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Starting Setting kernel variables: sysctl.
Initializing random number generator...done.
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.3-P1
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Cannot find device "eth0"
Failed to get interface index: No such device
If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug. These pages explain the proper
process and the information we find helpful for debugging.
exiting.
ifup: failed to bring up eth0
failed.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Not starting NFS kernel daemon: no exports ... (warning).
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
938 (syslogd)
.
Starting NTP server: ntpd1999-12-31T16:33:47 ntpd[970]: INIT: ntpd ntpsec-1.2.2: Starting
1999-12-31T16:33:47 ntpd[970]: INIT: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:106
.
Starting system message bus: dbus.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
956 (klogd)
.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshd.
Running local boot scripts (/etc/rc.local)
.
Debian GNU/Linux 12 debian ttyS0
debian login:
Re: kirkwood uboot for dlink dns-325 February 11, 2025 09:41PM |
Admin Registered: 14 years ago Posts: 19,413 |
> ifup: failed to bring up eth0Did you connect the Ethernet cable? you don't have network in this boot log.
Re: kirkwood uboot for dlink dns-325 February 12, 2025 03:01AM |
Admin Registered: 14 years ago Posts: 19,413 |
> > ifup: failed to bring up eth0 >> Did you connect the Ethernet cable? you don't have
Quote
4. (Stock u-boot only) Create uImage with embedded DTB for booting with older u-boots (2012 or earlier). Skip this step if you have installed the latest U-Boot for Kirkwood (or are installing this u-boot at the same time, or running kwboot with latest u-boot image).
Please replace kirkwood-goflexnet.dtb below with the correct DTB name for your box (see the folder /media/sdb1/boot/dts for the exact spelling of your Kirkwood box name).
Generate the uImage with DTB embedded inside:
cd /media/sdb1/boot
cp -a zImage-6.5.7-kirkwood-tld-1 zImage.fdt
cat dts/kirkwood-goflexnet.dtb >> zImage.fdt
mv uImage uImage.orig
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-6.5.7-kirkwood-tld-1 -d zImage.fdt uImage
sync
cd /boot mv uImage uImage.dns_325_dtb cp -a uImage.orig uImage sync
Re: kirkwood uboot for dlink dns-325 February 12, 2025 05:00PM |
Registered: 9 years ago Posts: 8 |
U-Boot 2021.04-tld-1 (Jun 04 2021 - 18:27:16 -0700) D-Link DNS-325 SoC: Kirkwood 88F6281_A1 DRAM: 256 MiB NAND: 128 MiB Loading Environment from NAND... OK In: serial Out: serial Err: serial Net: egiga0 Hit any key to stop autoboot: 0 starting USB... Bus ehci@50000: USB EHCI 1.00 scanning bus ehci@50000 for devices... USB retry period from the environment: 15 second(s) Use USB retry period from the environment: 15 second(s) 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 7829504 496ade0d-01 83 loading envs from usb 0 ... Failed to load '/boot/uEnv.txt' running scan_disk ... Scan device usb device usb 0:1 1 bytes read in 8 ms (0 Bytes/s) Found bootable drive on usb 0 loading uImage ... 6223944 bytes read in 223 ms (26.6 MiB/s) loading uInitrd ... 5791271 bytes read in 206 ms (26.8 MiB/s) loading DTB /boot/dts/kirkwood-dns325.dtb ... 13079 bytes read in 17 ms (751 KiB/s) ## Booting kernel from Legacy Image at 00a00000 ... Image Name: Linux-6.5.7-kirkwood-tld-1 Created: 2023-10-31 22:53:22 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 6223880 Bytes = 5.9 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... Bad Data CRC ERROR: can't get kernel image! resetting ...
=> printenv baudrate=115200 bootargs=console=ttyS0,115200 root=/dev/sda1 usb-storage.delay_use=0 rootdelay=1 rw bootcmd=usb reset ;run loaduImage;run loaduInitrd; bootm 0xa00000 0xf00000 bootdelay=5 bootenv=uEnv.txt cmdlinepart.mtdparts=mtdparts=orion_nand:896k(u-boot),128k(u-boot-env),-(root) ethact=egiga0 ethaddr=c8:be:19:00:72:4d filesize=585E27 ipaddr=192.168.0.19 loaduImage=ext2load usb 0:1 0xa00000 /boot/uImage loaduInitrd=ext2load usb 0:1 0xf00000 /boot/uInitrd mainlineLinux=yes mtdids=nand0=orion_nand serverip=192.168.0.17 stderr=serial stdin=serial stdout=serial
Re: kirkwood uboot for dlink dns-325 February 12, 2025 10:25PM |
Admin Registered: 14 years ago Posts: 19,413 |
Quote
Booting Debian on Kirkwood boxes
Booting with uEnv.txt (to fix messed up U-Boot envs or corrupted NAND envs area)
dtb_file=/boot/dts/kirkwood-dns325.dtb
Re: kirkwood uboot for dlink dns-325 February 22, 2025 09:29AM |
Registered: 9 years ago Posts: 8 |
Re: kirkwood uboot for dlink dns-325 February 23, 2025 11:26AM |
Admin Registered: 14 years ago Posts: 19,413 |