Re: Debian on Dell Kace M300 July 27, 2023 11:02AM |
Registered: 1 year ago Posts: 96 |
root@m300-sid:/boot# fw_printenv baudrate=115200 bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset bootcmd_exec=if run load_uimage; then; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi; fi bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootdelay=10 bootdev=usb console=ttyS0,115200 device=0:1 devices=usb sata disks=0 1 2 3 dtb_file=/boot/dts/kirkwood-m300.dtb if_netconsole=ping $serverip initrd_high=0x40000000 load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file load_dtb_addr=0x1c00000 load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd load_initrd_addr=0x2100000 load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage load_uimage_addr=0x800000 mtdparts=mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) preboot_nc=run if_netconsole start_netconsole scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb reset; sleep 1; usb reset"; setenv scan_sata "sata init"; 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 load $dev $disknum:1 $load_uimage_addr /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_addr=0x810000 uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize uenv_init_devices=echo Initializing devices...; setenv init_usb "usb reset; sleep 1; usb reset"; setenv init_sata sata init; 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 $disks; do if test $uenv_loaded -eq 0; then setenv device_type $devtype; setenv disk_number $disknum; run uenv_read; fi; done; done; uenv_read=echo Loading envs from $device_type $disk_number...; if load $device_type $disk_number:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi usb_ready_retry=15 root@m300-sid:/boot#
Re: Debian on Dell Kace M300 July 27, 2023 04:39PM |
Registered: 7 years ago Posts: 373 |
Re: Debian on Dell Kace M300 July 27, 2023 05:17PM |
Registered: 1 year ago Posts: 96 |
U-Boot 2022.04-tld-1 (Mar 20 2022 - 18:15:15 -0700) Dell KACE M300However, since the thumb I have in it is set up for a Stock uboot on ext3 filesystem, it throws this error:
[ 7.840186][ T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---I'll set up ext4 on another thumb with the normal rootfs and see how that works.
Re: Debian on Dell Kace M300 July 27, 2023 10:23PM |
Registered: 1 year ago Posts: 96 |
Re: Debian on Dell Kace M300 February 19, 2024 07:45PM |
Registered: 1 year ago Posts: 96 |
Re: Debian on Dell Kace M300 February 19, 2024 09:02PM |
Admin Registered: 13 years ago Posts: 19,007 |
Jader Marasca
Re: Debian on Dell Kace M300 February 23, 2024 04:26AM |
Jader Marasca
Re: Debian on Dell Kace M300 February 23, 2024 12:49PM |
Re: Debian on Dell Kace M300 February 23, 2024 01:26PM |
Admin Registered: 13 years ago Posts: 19,007 |
Quote
Latest released rootfs: Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2 (01 Nov 2023)
Note: If this is your first time installation, then you only need rootfs Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2 (this has kernel linux-6.5.7-kirkwood-tld-1 already installed). Please scroll down to 01 Nov 2023 section for download link and installation instruction.
Re: Debian on Dell Kace M300 February 24, 2024 04:16AM |
Registered: 9 years ago Posts: 52 |
Re: Debian on Dell Kace M300 February 24, 2024 02:09PM |
Admin Registered: 13 years ago Posts: 19,007 |
Re: Debian on Dell Kace M300 March 01, 2024 07:11PM |
Registered: 1 year ago Posts: 96 |
Re: Debian on Dell Kace M300 March 01, 2024 09:06PM |
Admin Registered: 13 years ago Posts: 19,007 |
Re: Debian on Dell Kace M300 March 01, 2024 09:28PM |
Registered: 1 year ago Posts: 96 |
Jáder Marasca
Re: Debian on Dell Kace M300 September 23, 2024 07:23AM |
Re: Debian on Dell Kace M300 September 23, 2024 01:35PM |
Admin Registered: 13 years ago Posts: 19,007 |
Jáder Marasca
Re: Debian on Dell Kace M300 September 23, 2024 02:05PM |
Re: Debian on Dell Kace M300 September 23, 2024 02:16PM |
Admin Registered: 13 years ago Posts: 19,007 |
Latest released rootfs: Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2 (01 Nov 2023)
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.2.9-kirkwood-tld-1 -d zImage.fdt uImage
Jáder Marasca
Re: Debian on Dell Kace M300 September 23, 2024 02:59PM |
root@urso:/mnt/PEN4G/boot# /mnt/PEN4G/usr/bin/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 -bash: /mnt/PEN4G/usr/bin/mkimage: cannot execute binary file: Exec format error
Jáder Marasca
Re: Debian on Dell Kace M300 September 23, 2024 04:16PM |
Jáder Marasca
Re: Debian on Dell Kace M300 September 23, 2024 04:24PM |
root@urso:/mnt/PEN4G/boot# 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 Image Name: Linux-6.5.7-kirkwood-tld-1 Created: Mon Sep 23 18:22:28 2024 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 6234777 Bytes = 6088.65 KiB = 5.95 MiB Load Address: 00008000 Entry Point: 00008000 root@urso:/mnt/PEN4G/boot# ls -lart total 54860 drwxr-xr-x 2 root root 4096 Oct 18 2023 dts -rwxr-xr-x 1 root root 6223880 Oct 19 2023 vmlinuz-6.5.7-kirkwood-tld-1 -rw-r--r-- 1 root root 4543778 Oct 19 2023 System.map-6.5.7-kirkwood-tld-1 -rw-r--r-- 1 root root 198312 Oct 19 2023 config-6.5.7-kirkwood-tld-1 -rwxr-xr-x 1 root root 6223880 Oct 19 2023 zImage-6.5.7-kirkwood-tld-1 -rw-r--r-- 1 root root 8557164 Oct 19 2023 linux-headers-6.5.7-kirkwood-tld-1_1_armel.deb drwxr-xr-x 18 root root 4096 Oct 31 2023 .. -rw-r--r-- 1 root root 5791207 Oct 31 2023 initrd.img-6.5.7-kirkwood-tld-1 -rw-r--r-- 1 root root 6223944 Oct 31 2023 uImage.orig -rw-r--r-- 1 root root 5791271 Oct 31 2023 uInitrd -rwxr-xr-x 1 root root 6234777 Sep 23 15:54 zImage.fdt drwxr-xr-x 3 root root 4096 Sep 23 18:22 . -rw-r--r-- 1 root root 6234841 Sep 23 18:22 uImage root@urso:/mnt/PEN4G/boot# sync root@urso:/mnt/PEN4G/boot#
Jáder Marasca
Re: Debian on Dell Kace M300 September 23, 2024 07:06PM |
Re: Debian on Dell Kace M300 September 23, 2024 11:08PM |
Admin Registered: 13 years ago Posts: 19,007 |
Jáder Marasca
Re: Debian on Dell Kace M300 September 24, 2024 09:12AM |
Re: Debian on Dell Kace M300 September 24, 2024 12:55PM |
Admin Registered: 13 years ago Posts: 19,007 |
Re: Debian on Dell Kace M300 September 25, 2024 11:49AM |
Registered: 7 years ago Posts: 373 |
Jáder Marasca
Re: Debian on Dell Kace M300 September 28, 2024 04:16PM |
Marvell>> __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ 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 FAILED Test failed at offset = 0x1C506800 Data written = 0x6F41A00 Data read = 0x6241A40 Diag FAILED Hit any key to stop autoboot: 0 Marvell>>
Jáder Marasca
Re: Debian on Dell Kace M300 September 28, 2024 05:20PM |
Marvell>> setenv bootcmd ' Marvell>> setenv kernel_config 'setenv mainlineLinux yes; setenv mtdparts mtdparts=spi0.0:0x7f000@0(uboot),0x1' Marvell>> setenv load_uimage 'ext2load usb 0:1 $(load_uimage_addr) /boot/uImage' Marvell>> setenv load_initrd 'ext2load usb 0:1 $(load_initrd_addr) /boot/uInitrd' Marvell>> setenv set_bootargs_stock 'setenv mainlineLinux no; setenv bootargs_console console=ttyS0,115200 mtd' Marvell>> setenv bootcmd_stock 'echo Booting stock ...; run bootcmd_ide' Marvell>> setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(mtdparts)' Marvell>> setenv bootcmd_exec 'echo Booting Debian …; usb start; run load_uimage; run load_initrd; bootm $(l ' Marvell>> setenv bootcmd 'run kernel_config; run set_bootargs; run bootcmd_exec; run set_bootargs_stock; run b' 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 Failed to mount ext2 filesystem... ** Bad ext2 partition or disk - usb 0:1 ** Failed to mount ext2 filesystem... ** Bad ext2 partition or disk - usb 0:1 ** ## Booting image at 00800000 ... Bad Magic Number Booting stock ... Reset IDE: Marvell Serial ATA Adapter Integrated Sata device found ** Bad partition 1 ** ** Bad partition 1 ** ## Booting image at 00100000 ... Bad Magic Number Marvell>>
Jáder Marasca
Re: Debian on Dell Kace M300 September 28, 2024 05:34PM |
root@urso:~# fdisk -l /dev/sda Disk /dev/sda: 3.75 GiB, 4027580416 bytes, 7866368 sectors Disk model: Flash Disk Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: DF2AEB44-E86A-46F5-8F51-9FA220414A29 Device Start End Sectors Size Type /dev/sda1 2048 7866322 7864275 3.7G Linux server data
Jáder Marasca
Re: Debian on Dell Kace M300 September 28, 2024 05:36PM |