Migration to Debian from Arch - Armv5 Kirkwood boards February 24, 2022 07:41PM |
Admin Registered: 13 years ago Posts: 19,011 |
ArchToDebian
Re: Migration to Debian from Arch - Armv5 Kirkwood boards February 27, 2022 11:48AM |
Re: Migration to Debian from Arch - Armv5 Kirkwood boards February 27, 2022 03:47PM |
Admin Registered: 13 years ago Posts: 19,011 |
ver printenvand then
bootLet it boot all the way into Arch. Log in, and then
cat /proc/mtd cat /etc/fw_env.config ls -lart /boot
Re: Migration to Debian from Arch - Armv5 Kirkwood boards February 28, 2022 02:23PM |
Registered: 2 years ago Posts: 6 |
U-Boot 2016.09.01-1 (Oct 10 2016 - 23:10:58 -0600) Arch Linux ARM Seagate FreeAgent DockStar
U-Boot 2016.09.01-1 (Oct 10 2016 - 23:11:39 -0600) Arch Linux ARM Seagate GoFlex Home
fw_setenv startboot_deb 'usb start; ide reset; for devtype in usb ide; 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 bootm ${loadaddr} ${rdaddr}:${filesize} ${fdtaddr}; else bootm ${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;'
fw_setenv bootcmd 'run startboot;run startboot_deb;run bootubi'
bootdir=/boot bootfilem=uImage fdtdir=/boot/dts fdtfile=kirkwood-dockstar.dtb rdfile=uInitrd root=LABEL=rootfs loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfilem}
run startboot;run bootubiso all the above procedure does is try the Debian boot procedure (startboot_deb) if the Arch boot procedure (startboot) fails.
optargs=init=/bin/systemd
Re: Migration to Debian from Arch - Armv5 Kirkwood boards February 28, 2022 04:16PM |
Admin Registered: 13 years ago Posts: 19,011 |
Re: Migration to Debian from Arch - Armv5 Kirkwood boards February 28, 2022 04:40PM |
Registered: 2 years ago Posts: 6 |
console=ttyS0,115200 mtdparts=orion_nand:1M(u-boot),-(rootfs) root=LABEL=rootfs rw rootwait
Re: Migration to Debian from Arch - Armv5 Kirkwood boards February 28, 2022 04:58PM |
Registered: 2 years ago Posts: 6 |
console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
Re: Migration to Debian from Arch - Armv5 Kirkwood boards February 28, 2022 06:35PM |
Admin Registered: 13 years ago Posts: 19,011 |
ArchToDebian
Re: Migration to Debian from Arch - Armv5 Kirkwood boards March 11, 2022 02:18PM |
U-Boot 2016.09.01-1 (Oct 10 2016 - 23:13:37 -0600) Arch Linux ARM Pogoplug V4 gcc (GCC) 6.2.1 20160830 GNU ld (GNU Binutils) 2.27 Hit any key to stop autoboot: 0 Pogoplugv4> Pogoplugv4> Pogoplugv4> boot boot starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: ST9250315AS Firm: 0003DEM1 Ser#: 5VC1GS51 Type: Hard Disk Supports 48-bit addressing Capacity: 238475.1 MB = 232.8 GB (488397168 x 512) Card did not respond to voltage select! USB device 0: unknown device Device 0: Model: ST9250315AS Firm: 0003DEM1 Ser#: 5VC1GS51 Type: Hard Disk Supports 48-bit addressing Capacity: 238475.1 MB = 232.8 GB (488397168 x 512) ... is now current device ide found on device 0 Checking for: /boot/uEnv.txt ... 188 bytes read in 57 ms (2.9 KiB/s) Loaded environment from /boot/uEnv.txt Checking if uenvcmd is set ... 3831876 bytes read in 892 ms (4.1 MiB/s) root has been defined by user loading /boot/dts/kirkwood-pogoplug_v4.dtb ... 10284 bytes read in 141 ms (70.3 KiB/s) 7245696 bytes read in 1699 ms (4.1 MiB/s) Bad Linux ARM zImage magic! Device 1: not available Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: ST9250315AS Firm: 0003DEM1 Ser#: 5VC1GS51 Type: Hard Disk Supports 48-bit addressing Capacity: 238475.1 MB = 232.8 GB (488397168 x 512) USB device 0: unknown device Device 0: Model: ST9250315AS Firm: 0003DEM1 Ser#: 5VC1GS51 Type: Hard Disk Supports 48-bit addressing Capacity: 238475.1 MB = 232.8 GB (488397168 x 512) ... is now current device ide found on device 0 Checking for: /boot/uEnv.txt ... 188 bytes read in 57 ms (2.9 KiB/s) Loaded environment from /boot/uEnv.txt Checking if uenvcmd is set ... 3831876 bytes read in 893 ms (4.1 MiB/s) root has been defined by user loading /boot/dts/kirkwood-pogoplug_v4.dtb ... 10284 bytes read in 141 ms (70.3 KiB/s) 7245696 bytes read in 1698 ms (4.1 MiB/s) ## Booting kernel from Legacy Image at 00810000 ... Image Name: Linux-4.12.1-kirkwood-tld-1 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3831812 Bytes = 3.7 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.12.1-kirkwood-tld-1 Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7245632 Bytes = 6.9 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 00800000 Booting using the fdt blob at 0x800000
printenv bootcmd=run startboot;run startboot_deb;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/kirkwood-pogoplugv4.dtb; 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 ethaddr=00:25:31:05:08:77 fdtaddr=0x800000 fdtdir=/boot/dtbs fdtfile=kirkwood-pogoplug-series-4.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) ncargs=ignore_loglevel netconsole=6665@10.10.10.3/eth0,6666@10.10.10.4/ 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; ide reset; for devtype in mmc usb ide; 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; startboot_deb=usb start; ide reset; for devtype in usb ide; 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 bootm ${loadaddr} ${rdaddr}:${filesize} ${fdtaddr}; else bootm ${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; stderr=nc stdin=nc stdout=nc Environment size: 4027/131068 bytes
bootdir=/boot bootfilem=uImage fdtdir=/boot/dts fdtfile=kirkwood-pogoplug_v4.dtb rdfile=uInitrd root=LABEL=rootfs loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfilem}
Re: Migration to Debian from Arch - Armv5 Kirkwood boards March 11, 2022 03:13PM |
Admin Registered: 13 years ago Posts: 19,011 |
rdaddr=0x2100000And boot again.
## Booting kernel from Legacy Image at 00810000 ... Image Name: Linux-4.12.1-kirkwood-tld-1 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3831812 Bytes = 3.7 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.12.1-kirkwood-tld-1 Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7245632 Bytes = 6.9 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 00800000 Booting using the fdt blob at 0x800000
ping debian.local
ArchtoDebian
Re: Migration to Debian from Arch - Armv5 Kirkwood boards March 12, 2022 05:44PM |
Re: Migration to Debian from Arch - Armv5 Kirkwood boards March 12, 2022 07:05PM |
Admin Registered: 13 years ago Posts: 19,011 |
Quote
4. 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).
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-4.12.1-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-4.12.1-kirkwood-tld-1 -d zImage.fdt uImage
sync
ls -lart /media/sdb1/boot
cd /media/sdb1/boot cp -a uImage uImage.pogo_v4_dtb cp -a uImage.orig uImage sync
e2label /dev/sdb1
ArchtoDebian
Re: Migration to Debian from Arch - Armv5 Kirkwood boards March 13, 2022 12:51AM |
Re: Migration to Debian from Arch - Armv5 Kirkwood boards March 13, 2022 04:08PM |
Admin Registered: 13 years ago Posts: 19,011 |
Re: Migration to Debian from Arch - Armv5 Kirkwood boards March 24, 2022 09:08AM |
Registered: 2 years ago Posts: 2 |
Re: Migration to Debian from Arch - Armv5 Kirkwood boards March 24, 2022 03:21PM |
Admin Registered: 13 years ago Posts: 19,011 |
ssh-keygen -ANote that the ssh-keygen -A is run only once at first boot. You already booted the rootfs once, so it will not regerate the key.
/home/user/.profile
Re: Migration to Debian from Arch - Armv5 Kirkwood boards March 24, 2022 05:14PM |
Registered: 2 years ago Posts: 2 |
Re: Migration to Debian from Arch - Armv5 Kirkwood boards March 25, 2022 08:40PM |
Admin Registered: 13 years ago Posts: 19,011 |
Re: Migration to Debian from Arch - Armv5 Kirkwood boards April 27, 2022 10:45AM |
Registered: 2 years ago Posts: 23 |
(rescue)[root@alarm boot]# mount | grep sda /dev/sda1 on /mnt type ext4 (rw,relatime,data=ordered) (rescue)[root@alarm boot]# cat uEnv.txt bootdir=/boot bootfilem=uImage fdtdir=/boot/dts fdtfile=kirkwood-pogo_e02.dtb rdfile=uInitrd root=LABEL=rootfs loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfilem} (rescue)[root@alarm boot]# e2label /dev/sda1 rootfs (rescue)[root@alarm boot]# fw_printenv 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-pogo_e02.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=xx:xx:xx:xx:xx:xx startboot_deb=usb start; ide reset; for devtype in usb ide; 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 bootm ${loadaddr} ${rdaddr}:${filesize} ${fdtaddr}; else bootm ${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; bootcmd=run startboot;run startboot_deb;run bootubi (rescue)[root@alarm boot]#
U-Boot 2016.09.01-1 (Oct 10 2016 - 23:12:58 -0600) Arch Linux ARM Pogo E02 gcc (GCC) 6.2.1 20160830 GNU ld (GNU Binutils) 2.27 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... 1 Storage Device(s) found USB device 0: Device 0: Vendor: SanDisk Rev: 0.2 Prod: Cruzer Mini Type: Removable Hard Disk Capacity: 977.4 MB = 0.9 GB (2001888 x 512) ... is now current device usb found on device 0 Checking for: /boot/uEnv.txt ... Unsupported feature found (64bit, possibly metadata_csum), not mounting Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** Unsupported feature found (64bit, possibly metadata_csum), not mounting Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** Unsupported feature found (64bit, possibly metadata_csum), not mounting Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** No kernel found USB device 1: unknown device Unknown command 'ide' - try 'help' USB device 0: Device 0: Vendor: SanDisk Rev: 0.2 Prod: Cruzer Mini Type: Removable Hard Disk Capacity: 977.4 MB = 0.9 GB (2001888 x 512) ... is now current device usb found on device 0 Checking for: /boot/uEnv.txt ... Unsupported feature found (64bit, possibly metadata_csum), not mounting Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** Unsupported feature found (64bit, possibly metadata_csum), not mounting Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** Unsupported feature found (64bit, possibly metadata_csum), not mounting Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** No kernel found USB device 1: unknown device Unknown command 'ide' - try 'help' Trying to boot from NAND ... ubi0: attaching mtd1 ubi0: scanning is finished ubi0: attached mtd1 (name "mtd=1", size 127 MiB) ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512 ubi0: VID header offset: 512 (aligned 512), data offset: 2048 ubi0: good PEBs: 1016, bad PEBs: 0, corrupted PEBs: 0 ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128 ubi0: max/mean erase counter: 4/2, WL threshold: 4096, image sequence number: 586836495 ubi0: available PEBs: 0, total reserved PEBs: 1016, PEBs reserved for bad PEB handling: 20 Loading file '/boot/zImage' to addr 0x00810000... Done Loading file '/boot/dtbs/kirkwood-pogo_e02.dtb' to addr 0x00800000... Done Unmounting UBIFS volume rootfs! Kernel image @ 0x810000 [ 0x000000 - 0x3f05c8 ] ## Flattened Device Tree blob at 00800000 Booting using the fdt blob at 0x800000
U-Boot 2016.09.01-1 (Oct 10 2016 - 23:12:58 -0600) Arch Linux ARM Pogo E02 gcc (GCC) 6.2.1 20160830 GNU ld (GNU Binutils) 2.27 Hit any key to stop autoboot: 3 0 starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found USB device 0: Device 0: Vendor: FUJITSU Rev: Prod: MHV2060AH Type: Hard Disk Capacity: 57231.5 MB = 55.8 GB (117210240 x 512) ... is now current device usb found on device 0 Checking for: /boot/uEnv.txt ... 6232576 bytes read in 449 ms (13.2 MiB/s) loading /boot/dtbs/kirkwood-pogo_e02.dtb ... 10108 bytes read in 841 ms (11.7 KiB/s) 7763674 bytes read in 694 ms (10.7 MiB/s) Kernel image @ 0x810000 [ 0x000000 - 0x5f1a00 ] ## Flattened Device Tree blob at 00800000 Booting using the fdt blob at 0x800000
Re: Migration to Debian from Arch - Armv5 Kirkwood boards April 27, 2022 11:06AM |
Registered: 2 years ago Posts: 6 |
Quote
If you are running the latest U-Boot for Kirkwood then you can use Ext4. But be aware that Ext4 file system format needs to be "finalized" before it can be used for booting.
Re: Migration to Debian from Arch - Armv5 Kirkwood boards April 27, 2022 11:40AM |
Registered: 2 years ago Posts: 23 |
Re: Migration to Debian from Arch - Armv5 Kirkwood boards April 27, 2022 01:07PM |
Registered: 2 years ago Posts: 6 |
Re: Migration to Debian from Arch - Armv5 Kirkwood boards April 27, 2022 01:17PM |
Registered: 2 years ago Posts: 6 |
lazy_itable_init[= <0 to disable, 1 to enable>] If enabled and the uninit_bg feature is enabled, the inode table will not be fully initialized by mke2fs. This speeds up file system initialization notice- ably, but it requires the kernel to finish initial- izing the file system in the background when the file system is first mounted. If the option value is omitted, it defaults to 1 to enable lazy inode table zeroing.
Re: Migration to Debian from Arch - Armv5 Kirkwood boards April 27, 2022 03:01PM |
Registered: 2 years ago Posts: 23 |
Re: Migration to Debian from Arch - Armv5 Kirkwood boards April 27, 2022 03:02PM |
Admin Registered: 13 years ago Posts: 19,011 |
Re: Migration to Debian from Arch - Armv5 Kirkwood boards April 27, 2022 03:09PM |
Admin Registered: 13 years ago Posts: 19,011 |
Re: Migration to Debian from Arch - Armv5 Kirkwood boards April 27, 2022 04:03PM |
Registered: 2 years ago Posts: 23 |
root@debian:/# apt install debootstrap root@debian:/# mkdir /bullseye root@debian:/# /usr/sbin/debootstrap stable /bullseye/ http://deb.debian.org/debian/
Re: Migration to Debian from Arch - Armv5 Kirkwood boards April 27, 2022 06:38PM |
Admin Registered: 13 years ago Posts: 19,011 |
Re: Migration to Debian from Arch - Armv5 Kirkwood boards April 27, 2022 07:37PM |
Registered: 2 years ago Posts: 23 |
root@debian:/# apt install debootstrap root@debian:/# mkdir /bullseye root@debian:/# /usr/sbin/debootstrap stable /bullseye/ http://deb.debian.org/debian/ root@debian:~# chroot /bullseye/ root@debian:/# cat /etc/apt/sources.list deb http://deb.debian.org/debian stable main root@debian:/# dpkg -l|egrep 'systemd|linux' ii libselinux1:armel 3.1-3 armel SELinux runtime shared libraries ii libsystemd0:armel 247.3-7 armel systemd utility library ii systemd 247.3-7 armel system and service manager ii systemd-sysv 247.3-7 armel system and service manager - SysV links ii util-linux 2.36.1-8+deb11u1 armel miscellaneous system utilities
Re: Migration to Debian from Arch - Armv5 Kirkwood boards April 27, 2022 08:26PM |
Admin Registered: 13 years ago Posts: 19,011 |
Quote
With the Pogo E02 you can use the Debian debootstrap rootfs. You just need to tweak the settings a bit. Basically, install as if it is a Sheevaplug, and then replace the DTB. But be careful not to update u-boot.
Just make a debootstrap rootfs and plug into this box, mount it. Come back and I ask a few questions, and show you how to do it.