Noobian1
Re: Pogoplug V4 - Debian 10 (Buster) March 18, 2022 01:53PM |
Re: Pogoplug V4 - Debian 10 (Buster) March 18, 2022 03:41PM |
Admin Registered: 12 years ago Posts: 17,883 |
Noobian1
Re: Pogoplug V4 - Debian 10 (Buster) March 18, 2022 07:45PM |
Noobian1
Re: Pogoplug V4 - Debian 10 (Buster) March 25, 2022 11:02AM |
Re: Pogoplug V4 - Debian 10 (Buster) March 25, 2022 04:33PM |
Admin Registered: 12 years ago Posts: 17,883 |
cd /boot ls -lart cat /etc/fw_env.config fw_printenv cat /etc/fstab e2label /dev/mmcblk0p1 e2label /dev/sda1Note that if your rootfs is on SD card then the command e2label /dev/mmcblk0p1 will work, if your rootfs is on USB then e2label /dev/sda1 will work. But one of these 2 will fail and output error.
Noobian1
Re: Pogoplug V4 - Debian 10 (Buster) March 28, 2022 07:37AM |
total 41200 -rwxr-xr-x 1 root root 2865600 Feb 5 2015 zImage-3.18.5-kirkwood-tld-1 drwxr-xr-x 2 root root 4096 Feb 5 2015 dts -rw-r--r-- 1 root root 131204 Feb 6 2015 config-3.18.5-kirkwood-tld-1 -rw-r--r-- 1 root root 2019506 Feb 6 2015 System.map-3.18.5-kirkwood-tld-1 -rwxr-xr-x 1 root root 2865600 Feb 6 2015 vmlinuz-3.18.5-kirkwood-tld-1 -rw-r--r-- 1 root root 9460784 Feb 6 2015 linux-headers-3.18.5-kirkwood-tld-1_1_armel.deb -rw-r--r-- 1 root root 2865664 Feb 8 2015 uImage.orig -rw-r--r-- 1 root root 6535284 Feb 18 2015 uInitrd -rwxr-xr-x 1 root root 2875628 Nov 10 2015 zImage.fdt -rw-r--r-- 1 root root 2875692 Nov 10 2015 uImage drwxr-xr-x 21 root root 4096 Mar 22 12:42 .. -rw-r--r-- 1 root root 9583807 Mar 22 12:55 initrd.img-3.18.5-kirkwood-tld-1 drwxr-xr-x 3 root root 4096 Mar 22 12:55 .
# MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd0 0xc0000 0x20000 0x20000
ipaddr=192.168.0.231 serverip=192.168.0.220 baudrate=115200 bootcmd_mmc=run mmc_init; run set_bootargs_mmc; run mmc_boot bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot; bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot; bootdelay=10 console=ttyS0,115200 device=0:1 ethact=egiga0 if_netconsole=ping $serverip led_error=orange blinking led_exit=green off led_init=green blinking mainlineLinux=yes mmc_boot=mw 0x800000 0 1; run mmc_load_uimage; if run mmc_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi mmc_init=mmc rescan mmc_load_uimage=ext2load mmc $device 0x800000 /boot/uImage mmc_load_uinitrd=ext2load mmc $device 0x1100000 /boot/uInitrd mmc_root=/dev/mmcblk0p1 mtdids=nand0=orion_nand partition=nand0,2 preboot_nc=run if_netconsole start_netconsole rootdelay=10 rootfstype=ext3 sata_boot=mw 0x800000 0 1; run sata_load_uimage; if run sata_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi sata_init=ide reset sata_load_uimage=ext2load ide $device 0x800000 /boot/uImage sata_load_uinitrd=ext2load ide $device 0x1100000 /boot/uInitrd sata_root=/dev/sda1 set_bootargs_mmc=setenv bootargs console=$console root=$mmc_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial usb_boot=mw 0x800000 0 1; run usb_load_uimage; if run usb_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi usb_init=usb start usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd usb_root=/dev/sda1 ethaddr=00:25:31:04:2d:26 arcNumber=3960 machid=F78 usb_rootfstype=ext3 mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root) bootcmd_pogo=if ubi part root 2048 && ubifsmount ubi:rootfs && ubifsload 0x800000 uboot.mtd0.dockstar.original.kwb ; then go 0x800200; fi bootcmd=run bootcmd_mmc; run bootcmd_usb; run bootcmd_sata; run bootcmd_pogo; reset
# /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> /dev/mmcblk0p1
e2label: No such file or directory while trying to open /dev/sda1 Couldn't find valid filesystem superblock.
Re: Pogoplug V4 - Debian 10 (Buster) March 28, 2022 07:17PM |
Admin Registered: 12 years ago Posts: 17,883 |
Generate the uImage with DTB embedded inside: cd /media/sdb1/boot cp -a zImage-5.13.6-kirkwood-tld-1 zImage.fdt cat dts/kirkwood-pogoplug_v4.dtb >> zImage.fdt mv uImage uImage.orig mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.13.6-kirkwood-tld-1 -d zImage.fdt uImage sync
https://varkey.in/seagate-goflex-net-serial-connection/ http://forum.doozan.com/read.php?8,13263 http://geeksmith.blogspot.com/2017/02/adding-jst-serial-connector-to-pogoplug.html
fw_setenv mmc_boot 'mw 0x800000 0 1; run mmc_load_uimage; if run mmc_load_uinitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi' fw_setenv mmc_load_uinitrd 'ext2load mmc $device 0x2100000 /boot/uInitrd'
fw_printenv
sync sync shutdown -h now
Noobian1
Re: Pogoplug V4 - Debian 10 (Buster) March 29, 2022 06:43AM |
Re: Pogoplug V4 - Debian 10 (Buster) March 29, 2022 03:13PM |
Admin Registered: 12 years ago Posts: 17,883 |
Quote
uboot.2017.07-tld-1.pogo_v4.bodhi.tar
md5
e2c2b4927dcd8189f0c97dd81b72ad7e
sha256
18f856d2106aabe6029331358fb06f053ea9257ad896e2d382f4f096f93c46e9
Noobian1
Re: Pogoplug V4 - Debian 10 (Buster) March 30, 2022 09:16AM |
Re: Pogoplug V4 - Debian 10 (Buster) August 19, 2022 05:46AM |
Registered: 6 years ago Posts: 13 |
I assume the displayed info is referring to the rootfs version. If so, what is the command to check for the kernel version? (Sorry, I know it's a rather simple question, but I Googled forums.doozan.com earlier to try to find an answer before resorting to this post.)Quote
root@debian:~# uname -r 5.13.6-kirkwood-tld-1
Re: Pogoplug V4 - Debian 10 (Buster) August 19, 2022 03:37PM |
Admin Registered: 12 years ago Posts: 17,883 |
Quote
root@debian:~# uname -r
5.13.6-kirkwood-tld-1"
uname -ror
uname -a
cd /boot ls -larth
Quote
Updated Jun 25 Apr 2022:
Kernel linux-5.18.6-kirkwood-tld-1 package has been uploaded. The following features were added/updated:
- General kernel upgrade
- See new Important Note in Step 5 about uInitrd size.
......
5.a Important Note: Check your uInitrd size to see if it is larger than 11 MB.
ls -lh /boot/uInitrd
If it is, see Section B in the u-boot installation thread B. Load addresses for large systems for how to adjust u-boot envs before reboot.
....