Re: Debian on Dell Kace M300 April 24, 2023 08:20PM |
Registered: 1 year ago Posts: 46 |
Re: Debian on Dell Kace M300 April 25, 2023 09:49PM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Debian on Dell Kace M300 April 26, 2023 09:01PM |
Registered: 9 years ago Posts: 454 |
Re: Debian on Dell Kace M300 April 30, 2023 10:34PM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Debian on Dell Kace M300 May 01, 2023 08:32PM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Debian on Dell Kace M300 May 02, 2023 04:44AM |
Registered: 1 year ago Posts: 46 |
Re: Debian on Dell Kace M300 May 02, 2023 02:40PM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Debian on Dell Kace M300 May 02, 2023 04:51PM |
Registered: 1 year ago Posts: 46 |
Re: Debian on Dell Kace M300 May 02, 2023 06:13PM |
Admin Registered: 13 years ago Posts: 18,900 |
Quote
i used ontrack easy recovery disk diagnostics to get these numbers.
cd /media/sda1 dd if=/dev/zero of=test_write.img bs=1G count=1 oflag=dsync
hdparm -Tt /dev/sda
Re: Debian on Dell Kace M300 May 03, 2023 04:55PM |
Admin Registered: 13 years ago Posts: 18,900 |
/dev/sda: Timing cached reads: 672 MB in 2.00 seconds = 335.35 MB/sec Timing buffered disk reads: 486 MB in 3.01 seconds = 161.65 MB/sec
1+0 records in 1+0 records out 524288000 bytes (524 MB, 500 MiB) copied, 11.7481 s, 44.6 MB/s
Re: Debian on Dell Kace M300 May 03, 2023 07:46PM |
Registered: 9 years ago Posts: 52 |
Re: Debian on Dell Kace M300 May 04, 2023 11:09PM |
Registered: 9 years ago Posts: 454 |
Re: Debian on Dell Kace M300 May 25, 2023 11:01PM |
Registered: 9 years ago Posts: 52 |
Re: Debian on Dell Kace M300 May 26, 2023 12:04AM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Debian on Dell Kace M300 July 19, 2023 10:53PM |
Registered: 1 year ago Posts: 96 |
## Booting image at 00800000 ... Image Name: Linux-6.3.8-kirkwood-tld-1 Created: 2023-07-20 3:18:22 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 6122240 Bytes = 5.8 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK ## Loading Ramdisk Image at 02100000 ... Image Name: initramfs-6.3.8-kirkwood-tld-1 Created: 2023-07-20 3:18:30 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 10515277 Bytes = 10 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Starting kernel ... Error: invalid dtb and unrecognized/unsupported machine ID r1=0x0000020f, r2=0x00000100 r2[]=05 00 00 00 01 00 41 54 00 00 00 00 00 00 00 00 Available machine support: ID (hex) NAME ffffffff Generic DT based system ffffffff Marvell Kirkwood (Flattened Device Tree) Please check your kernel config and/or bootloader.
Re: Debian on Dell Kace M300 July 20, 2023 07:38AM |
Admin Registered: 13 years ago Posts: 18,900 |
## Booting image at 00800000 ... > Image Name: Linux-6.3.8-kirkwood-tld-1 > Created: 2023-07-20 3:18:22 UTC > Image Type: ARM Linux Kernel Image > (uncompressed) > Data Size: 6122240 Bytes = 5.8 MB > Load Address: 00008000 > Entry Point: 00008000 > Verifying Checksum ... OK > OK > ## Loading Ramdisk Image at 02100000 ... > Image Name: initramfs-6.3.8-kirkwood-tld-1 > Created: 2023-07-20 3:18:30 UTC > Image Type: ARM Linux RAMDisk Image (gzip > compressed) > Data Size: 10515277 Bytes = 10 MB > Load Address: 00000000 > Entry Point: 00000000 > Verifying Checksum ... OK > > Starting kernel ... > > > Error: invalid dtb and unrecognized/unsupported > machine ID > r1=0x0000020f, r2=0x00000100 > r2[]=05 00 00 00 01 00 41 54 00 00 00 00 00 00 > 00 00 > Available machine support: > > ID (hex) NAME > ffffffff Generic DT based system > ffffffff Marvell Kirkwood (Flattened Device > Tree) > > Please check your kernel config and/or > bootloader.>
4b. Boot with DTB file embedded in the kernel image.Again, this step 4b is for stock U-Boot only.
Re: Debian on Dell Kace M300 July 20, 2023 12:04PM |
Registered: 1 year ago Posts: 96 |
> 4b. Boot with DTB file embedded in the kernel > image.Again, this step 4b is for stock U-Boot > only.Well, of course I missed a step! Sheesh.
Re: Debian on Dell Kace M300 July 20, 2023 12:07PM |
Registered: 1 year ago Posts: 96 |
Re: Debian on Dell Kace M300 July 20, 2023 09:30PM |
Registered: 9 years ago Posts: 454 |
root@debian:~# cat /etc/debian_version > 10.13
Re: Debian on Dell Kace M300 July 21, 2023 12:27AM |
Admin Registered: 13 years ago Posts: 18,900 |
root@debian:~# cat /etc/debian_version > 10.13
Re: Debian on Dell Kace M300 July 21, 2023 03:56PM |
Registered: 1 year ago Posts: 96 |
Re: Debian on Dell Kace M300 July 22, 2023 07:05AM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Debian on Dell Kace M300 July 26, 2023 05:35PM |
Registered: 1 year ago Posts: 96 |
# flash_unlock /dev/mtd0 flash_unlock: error!: could not unlock device: /dev/mtd0 error 95 (Operation not supported)It's stock uboot on the M300, which I'm trying to upgrade.
__ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** ** MARVELL BOARD: DB-88F6282A-BP LE U-Boot 1.1.4 (Jun 20 2011 - 13:16:26) Marvell version: 3.4.27 USISH-SMB Ver: kacemini-1.5 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CDBC0 Soc: MV88F1155 Rev 1 (DDR3) CPU running @ 2000Mhz L2 running @ 500Mhz SysClock = 500Mhz , TClock = 200Mhz DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7 DRAM CS[0] base 0x00000000 size 512MB DRAM CS[1] base 0x20000000 size 512MB DRAM CS[2] base 0x40000000 size 512MB DRAM CS[3] base 0x60000000 size 512MB DRAM Total size 2GB 16bit width Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done [512kB@f8000000] Flash: 512 kB Good CRC! CPU : Marvell Feroceon (Rev 1) Streaming disabled Write allocate disabled USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME] Running diagnostics ... DDR3 data bus test PASSED DDR3 address bus test PASSED DDR3 device test PASSED Diag completed Hit any key to stop autoboot: 3 0 Marvell>> protect off all Un-Protect Flash Bank # 1 ................................................................................................................................ done Marvell>> boot Booting Debian ... (Re)start USB... USB: scanning bus for devices... 3 USB Device(s) found Waiting for storage device(s) to settle before scanning... 1 Storage Device(s) found .... . ...... ............ ......................... ................................................... ...................................................................................................... ............................................................................................................................................................................................................ .... ........................................................................................................................................................................................ 6133201 bytes read .... . ...... ............ ......................... ................................................... ...................................................................................................... ............................................................................................................................................................................................................ .... .................................................................................................................................................................................................................................................................................................................................................................................................................... .... ......................................................................................................................................................................................... 10337386 bytes read ## Booting image at 00800000 ... Image Name: Linux-6.3.8-kirkwood-tld-1 Created: 2023-07-26 4:03:03 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 6133137 Bytes = 5.8 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK ## Loading Ramdisk Image at 02100000 ... Image Name: initramfs-6.3.8-kirkwood-tld-1 Created: 2023-07-26 4:03:09 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 10337322 Bytes = 9.9 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Starting kernel ... [ 0.000000][ T0] Booting Linux on physical CPU 0x0 [ 0.000000][ T0] Linux version 6.3.8-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 PREEMPT Wed Jun 21 02:30:10 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: Dell KACE M300 [ 0.000000][ T0] printk: bootconsole [earlycon0] enabled [ 0.000000][ T0] Memory policy: Data cache writeback [ 0.000000][ T0] Ignoring RAM at 0x70000000-0x80000000 [ 0.000000][ T0] Consider using a HIGHMEM enabled kernel. [ 0.000000][ T0] Zone ranges: [ 0.000000][ T0] Normal [mem 0x0000000000000000-0x000000006fffffff] [ 0.000000][ T0] Movable zone start for each node [ 0.000000][ T0] Early memory node ranges [ 0.000000][ T0] node 0: [mem 0x0000000000000000-0x000000006fffffff] [ 0.000000][ T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000006fffffff] [ 0.000000][ T0] Built 1 zonelists, mobility grouping on. Total pages: 454720 [ 0.000000][ T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) earlyprintk=serial [ 0.000000][ T0] Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes, linear) [ 0.000000][ T0] Inode-cache hash table entries: 131072 (order: 7, 524288 bytes, linear) [ 0.000000][ T0] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.000000][ T0] Memory: 1785668K/1835008K available (12288K kernel code, 1697K rwdata, 5236K rodata, 1024K init, 301K bss, 49340K reserved, 0K cma-reserved) [ 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.000001][ T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.008518][ T0] Switching to timer-based delay loop, resolution 5ns [ 0.016462][ T0] Console: colour dummy device 80x30 [ 0.021663][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000) [ 0.032884][ T0] pid_max: default: 32768 minimum: 301 [ 0.038768][ T0] LSM: initializing lsm=capability,integrity [ 0.044914][ T0] Mount-cache hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 0.053039][ T0] Mountpoint-cache hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 0.063406][ T0] CPU: Testing write buffer coherency: ok [ 0.071408][ T1] cblist_init_generic: Setting adjustable number of callback queues. [ 0.079373][ T1] cblist_init_generic: Setting shift to 0 and lim to 1. [ 0.086411][ T1] cblist_init_generic: Setting shift to 0 and lim to 1. [ 0.093591][ T1] Setting up static identity map for 0x100000 - 0x100058 [ 0.100726][ T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1 [ 0.106836][ T1] rcu: Hierarchical SRCU implementation. [ 0.112381][ T1] rcu: Max phase no-delay instances is 1000. [ 0.119806][ T1] devtmpfs: initialized [ 0.130221][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.140808][ T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.148675][ T1] prandom: seed boundary self test passed [ 0.156773][ T1] prandom: 100 self tests passed [ 0.161591][ T1] pinctrl core: initialized pinctrl subsystem [ 0.169713][ T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.176960][ T1] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.185713][ T1] audit: initializing netlink subsys (disabled) [ 0.193394][ T1] thermal_sys: Registered thermal governor 'step_wise' [ 0.193728][ T16] audit: type=2000 audit(0.180:1): state=initialized audit_enabled=0 res=1 [ 0.208976][ T1] cpuidle: using governor ladder [ 0.213831][ T1] cpuidle: using governor menu [ 0.218920][ T1] Feroceon L2: Enabling L2 [ 0.223198][ T1] Feroceon L2: Cache support initialised.76 bytes, linear) [ 2.294486][ T1] UDP hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 2.301914][ T1] UDP-Lite hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 2.324695][ T1] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 2.344864][ T1] RPC: Registered named UNIX socket transport module. [ 2.351456][ T1] RPC: Registered udp transport module. [ 2.364375][ T1] RPC: Registered tcp transport module. [ 2.369755][ T1] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 2.394385][ T1] PCI: CLS 0 bytes, default 32 [ 2.399303][ T1] NetWinder Floating Point Emulator V0.97 (double precision) [ 2.406868][ T19] Trying to unpack rootfs image as initramfs... [ 2.883895][ T1] Initialise system trusted keyrings [ 2.895197][ T1] Key type blacklist registered [ 2.904607][ T1] workingset: timestamp_bits=14 max_order=19 bucket_order=5 [ 2.911842][ T1] zbud: loaded [ 2.935472][ T1] NFS: Registering the id_resolver key type [ 2.941234][ T1] Key type id_resolver registered [ 2.954495][ T1] Key type id_legacy registered [ 2.959295][ T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 2.974469][ T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 2.982940][ T1] jffs2: version 2.2. (NAND) (SUMMARY) ¬ 2001-2006 Red Hat, Inc. [ 3.014895][ T1] fuse: init (API version 7.38) [ 3.020011][ T1] orangefs_debugfs_init: called with debug mask: :none: :0: [ 3.034718][ T1] orangefs_init: module version upstream loaded [ 3.040851][ T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled [ 3.172044][ T1] xor: measuring software checksum speed [ 3.199837][ T1] arm4regs : 1865 MB/sec [ 3.223284][ T1] 8regs : 1119 MB/sec [ 3.250700][ T1] 32regs : 1587 MB/sec [ 3.264481][ T1] xor: using function: arm4regs (1865 MB/sec) [ 3.270417][ T1] async_tx: api initialized (async) [ 3.284462][ T1] Key type asymmetric registered [ 3.289254][ T1] Asymmetric key parser 'x509' registered [ 3.484971][ T19] Freeing initrd memory: 10096K [ 3.518853][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 3.527226][ T1] io scheduler bfq registered [ 3.645158][ T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 3.653944][ T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 3.664464][ T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 3.674724][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges: [ 3.684627][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1040000..0x00f1041fff -> 0x0000040000 [ 3.694738][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1044000..0x00f1045fff -> 0x0000044000 [ 3.704822][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1080000..0x00f1081fff -> 0x0000080000 [ 3.714897][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000 [ 3.725486][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000 [ 3.736082][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000 [ 3.746665][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000 [ 3.757752][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00 [ 3.766012][ T1] pci_bus 0000:00: root bus resource [bus 00-ff] [ 3.772169][ T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff]) [ 3.783011][ T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff]) [ 3.793852][ T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff]) [ 3.804685][ T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 3.812221][ T1] pci_bus 0000:00: root bus resource [io 0x1000-0xeffff] [ 3.819234][ T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400 [ 3.826871][ T1] PCI: bus0: Fast back to back transfers disabled [ 3.833126][ T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 3.842024][ T1] PCI: bus1: Fast back to back transfers enabled [ 3.848213][ T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 3.855568][ T1] pci 0000:00:01.0: PCI bridge to [bus 01] [ 3.861904][ T1] mv_xor f1060800.xor: Marvell shared XOR driver [ 3.925260][ T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 3.936177][ T1] mv_xor f1060900.xor: Marvell shared XOR driver [ 4.005258][ T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 4.016440][ T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 4.024832][ T1] printk: console [ttyS0] disabled [ 4.029854][ T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 28, base_baud = 12500000) is a 16550A [ 4.039582][ T1] printk: console [ttyS0] enabled [ 4.039582][ T1] printk: console [ttyS0] enabled [ 4.049425][ T1] printk: bootconsole [earlycon0] disabled [ 4.049425][ T1] printk: bootconsole [earlycon0] disabled [ 4.072507][ T1] loop: module loaded [ 4.077043][ T1] sata_mv f1080000.sata: slots 32 ports 1 [ 4.084663][ T1] scsi host0: sata_mv [ 4.088828][ T1] ata1: SATA max UDMA/133 irq 29 [ 4.095491][ T1] spi-nor spi0.0: mx25l4005a (512 Kbytes) [ 4.101168][ T1] 2 cmdlinepart partitions found on MTD device spi0.0 [ 4.107865][ T1] Creating 2 MTD partitions on "spi0.0": [ 4.113384][ T1] 0x000000000000-0x00000007f000 : "uboot" [ 4.119544][ T1] 0x00000007f000-0x000000080000 : "u-boot-env" [ 4.126411][ T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information. [ 4.135009][ T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. [ 4.160766][ T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 4.170702][ T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 18:03:73:41:da:d6 [ 4.180767][ T1] orion-ehci f1050000.ehci: EHCI Host Controller [ 4.187074][ T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 4.195687][ T1] orion-ehci f105000[ 6.496132][ T19] scsi 1:0:0:0: Direct-Access USB SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6 [ 6.516237][ T28] sd 1:0:0:0: [sdb] 60125184 512-byte logical blocks: (30.8 GB/28.7 GiB) [ 6.540248][ T28] sd 1:0:0:0: [sdb] Write Protect is off [ 6.557873][ T28] sd 1:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 6.595963][ T28] sdb: sdb1 [ 6.606573][ T28] sd 1:0:0:0: [sdb] Attached SCSI removable disk [ 7.210911][ T142] usbcore: registered new interface driver uas 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. Begin: Will now check root file system ... fsck from util-linux 2.36.1 [/sbin/fsck.ext3 (1) -- /dev/sdb1] fsck.ext3 -a -C0 /dev/sdb1 rootfs: clean, 20440/1880480 files, 397250/7515392 blocks done. [ 17.847237][ T171] EXT4-fs (sdb1): mounting ext3 file system using the ext4 subsystem [ 17.933419][ T171] EXT4-fs (sdb1): mounted filesystem 9482f273-e7da-4434-8534-25d5e08e0cbc with ordered data mode. Quota mode: none. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. INIT: version 2.96 booting Using makefile-style concurrent boot in runlevel S. Setting hostname to 'm300-sid'...done. Starting fake hwclock: loading system time. Current system time: 2023-07-26 21:28:40 fake-hwclock saved clock information is in the past: 2023-07-26 21:08:32 To set system time to this saved clock anyway, use "force" 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...[ 20.494582][ T369] orion_wdt: Initial timeout 21 sec [ 20.746118][ T370] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 20.817874][ T370] sd 1:0:0:0: Attached scsi generic sg1 type 0 [ 20.966507][ T372] marvell-cesa f1030000.crypto: CESA device successfully registered done. Activating swap:. [ 21.882365][ T513] EXT4-fs (sdb1): re-mounted 9482f273-e7da-4434-8534-25d5e08e0cbc. 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. 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. [ 23.864395][ C0] random: crng init done Initializing random number generator...done. Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1 Copyright 2004-2018 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/18:03:73:41:da:d6 Sending on LPF/eth0/18:03:73:41:da:d6 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4 [ 27.325873][ C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled [ 27.336518][ T17] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 DHCPOFFER of 192.168.1.229 from 192.168.1.254 DHCPREQUEST for 192.168.1.229 on eth0 to 255.255.255.255 port 67 DHCPACK of 192.168.1.229 from 192.168.1.254 bound to 192.168.1.229 -- renewal in 40006 seconds. done. 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. Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd... 1065 (syslogd) . Starting NFS common utilities: statd idmapd. Starting system message bus: dbus. Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. Not starting NFS kernel daemon: no exports. ... (warning). Starting NTP server: ntpd. Starting OpenBSD Secure Shell server: sshd. Starting busybox' klogd implementation : klogdStarting /sbin/klogd... 1105 (klogd) . Running local boot scripts (/etc/rc.local) . Debian GNU/Linux 11 m300-sid ttyS0 m300-sid login: root Password: Linux m300-sid 6.3.8-kirkwood-tld-1 #1 PREEMPT Wed Jun 21 02:30:10 PDT 2023 armv5tel Last login: Wed Jul 26 16:01:19 CDT 2023 on ttyS0 m300-sid 192.168.1.229 Dell KACE M300 Linux version 6.3.8-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 PREEMPT Wed Jun 21 02:30:10 PDT 2023 Debian 11.7 Wed Jul 26 16:29:19 CDT 2023 up 0 minutes root@m300-sid:~# flash_unlock /dev/mtd0 flash_unlock: error!: could not unlock device: /dev/mtd0 error 95 (Operation not supported) root@m300-sid:~# flash_unlock -V flash_unlock (mtd-utils) 2.1.2 root@m300-sid:~#Thoughts?
Re: Debian on Dell Kace M300 July 26, 2023 09:07PM |
Registered: 9 years ago Posts: 454 |
protect off all
Un-Protect Flash Bank # 1 ................................................................................................................................ done
Re: Debian on Dell Kace M300 July 26, 2023 09:34PM |
Registered: 1 year ago Posts: 96 |
> protect off all> Expected output
> Un-Protect Flash Bank # 1 > ................................................................................................................................ > done> And then go ahead boot into Debian
Re: Debian on Dell Kace M300 July 27, 2023 12:12AM |
Admin Registered: 13 years ago Posts: 18,900 |
Quote
2. Flash new u-boot
Log into Debian, download the attached u-boot image tarball. Extract the files. And flash both images.
flash_unlock /dev/mtd0 # ignore error message
flashcp -v uboot.2022.04-tld-1.m300.mtd0.kwb /dev/mtd0
....
Re: Debian on Dell Kace M300 July 27, 2023 12:59AM |
Registered: 1 year ago Posts: 96 |
root@m300-sid:~# flash_unlock /dev/mtd0 flash_unlock: error!: could not unlock device: /dev/mtd0 error 95 (Operation not supported) root@m300-sid:~# flashcp -v Kirkwood_files/uboot.2022.04-tld-1.m300.mtd0.kwb /dev/mtd0 Erasing blocks: 96/96 (100%) Writing data: 384k/384k (100%) Verifying data: 384k/384k (100%) root@m300-sid:~# flash_unlock /dev/mtd1 flash_unlock: error!: could not unlock device: /dev/mtd1 error 95 (Operation not supported) root@m300-sid:~# flashcp -v Kirkwood_files/uboot.2022.04-tld-1.m300.environment.4K.img /dev/mtd1 Erasing blocks: 1/1 (100%) Writing data: 4k/4k (100%) Verifying data: 4k/4k (100%) root@m300-sid:~# cd /boot root@m300-sid:/boot# cp -a uImage uImage.m300.dtb root@m300-sid:/boot# cp -a uImage.orig uImage root@m300-sid:/boot# fw_printenv Cannot read environment, using default Cannot read default environment from file root@m300-sid:/boot# fw_setenv ethaddr 18:03:73:41:da:d6 Cannot read environment, using default Cannot read default environment from file root@m300-sid:/boot# fw_setenv ipaddr 192.168.1.229 Cannot read environment, using default Cannot read default environment from file root@m300-sid:/boot# cat /boot/uEnv.txt cat: /boot/uEnv.txt: No such file or directory root@m300-sid:/boot# [I edited /boot/uEnv.txt file here] root@m300-sid:/boot# cat /boot/uEnv.txt custom_params=raid=noautodetect bootdev=sata devices=sata usb ethaddr=18:03:73:41:da:d6 ipaddr=192.168.1.229 root@m300-sid:/boot#I don't know what the 'serverip' value should be (unless it's the gateway?), and I didn't want to test it by rebooting because of the errors on the envs.
Re: Debian on Dell Kace M300 July 27, 2023 04:42AM |
Admin Registered: 13 years ago Posts: 18,900 |
cat /proc/mtd cat /etc/fw_env.config
Re: Debian on Dell Kace M300 July 27, 2023 08:25AM |
Registered: 1 year ago Posts: 96 |
> cat /proc/mtd > cat /etc/fw_env.configHere's the results:
root@m300-sid:/boot# cat /proc/mtd dev: size erasesize name mtd0: 0007f000 00001000 "uboot" mtd1: 00001000 00001000 "u-boot-env" root@m300-sid:/boot# cat /etc/fw_env.config # MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd0 0xc0000 0x20000 0x20000 root@m300-sid:/boot#> And do you have serial console? it will be
Re: Debian on Dell Kace M300 July 27, 2023 08:38AM |
Registered: 7 years ago Posts: 373 |