Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Follow up: A fresh attempt at 4.12.1 install on another pogo-plug v (1 reply)

$
0
0
OK. Took another pogo-plug that runs 3.14 currently as the victim.

Output of fw_printenv on that box (printed while booted on 3.14 fs & kernel)

root@whiterabbit:~# fw_printenv
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
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
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:05:66:bd
usb_rootfstype=ext3
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
serverip=192.168.2.12
ipaddr=192.168.2.6
if_netconsole=ping $serverip
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
preboot=run if_netconsole start_netconsole
arcNumber=3960
bootcmd=run bootcmd_mmc; run bootcmd_usb; run bootcmd_sata; run bootcmd_pogo; reset
bootcmd_pogo=if ubi part root 2048 && ubifsmount ubi:rootfs && ubifsload 0x800000 uboot.mtd0.dockstar.original.kwb ; then go 0x800200; fi
machid=F78

Newly created 4.12.1 file system particulars:
root@sirguy:/# lsblk -f /dev/sdc1
NAME FSTYPE LABEL  UUID                                 MOUNTPOINT
sdc1 ext3   rootfs cb9fd5ca-830e-41a8-8de1-ae0bf8d67735 /media/craig/rootfs
root@sirguy:/# lsblk -f -o label  /dev/sdc1
LABEL
rootfs

it's fstab:

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
LABEL=rootfs    /               ext3    noatime,errors=remount-ro 0 1
tmpfs          /tmp            tmpfs   defaults          0       0


list of /boot contents:

drwxr-xr-x 21 root root    4096 Feb 16  2015 ..
drwxr-xr-x  2 root root    4096 Jul 15 17:14 dts
-rw-r--r--  1 root root  153501 Jul 15 22:21 config-4.12.1-kirkwood-tld-1
-rwxr-xr-x  1 root root 3821528 Jul 15 23:42 zImage-4.12.1-kirkwood-tld-1
-rw-------  1 root root 3821528 Jul 16 02:43 vmlinuz-4.12.1-kirkwood-tld-1
-rw-------  1 root root 2504031 Jul 16 02:43 System.map-4.12.1-kirkwood-tld-1
-rw-r--r--  1 root root 8435004 Jul 16 03:06 linux-headers-4.12.1-kirkwood-tld-1_1.0_armel.deb
-rw-r--r--  1 root root 3821592 Jul 20 03:11 uImage.stock.4.12.1
-rw-r--r--  1 root root 7245632 Jul 23 19:15 initrd.img-4.12.1-kirkwood-tld-1
-rw-r--r--  1 root root 7245696 Jul 23 19:18 uInitrd.stock.4.12.1
-rwxr-xr-x  1 root root 3831812 Sep 27 09:13 zImage.fdt
-rw-r--r--  1 root root 3831876 Sep 27 09:14 uImage.4.12.1
-rw-r--r--  1 root root 7245696 Sep 27 09:15 uInitrd.4.12.1
-rw-r--r--  1 root root 3831876 Sep 27 09:15 uImage
drwxr-xr-x  3 root root    4096 Sep 27 09:15 .
-rw-r--r--  1 root root 7245696 Sep 27 09:15 uInitrd

boot output as received by netconsole:

U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45)
Pogoplug V4
gcc (Debian 4.6.3-14) 4.6.3
GNU ld (GNU Binutils for Debian) 2.22
Hit any key to stop autoboot:  0

MMC rescan: current device # 0 initialized OK
3831876 bytes read in 1435 ms (2.5 MiB/s)
7245696 bytes read in 1969 ms (3.5 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.12.1-kirkwood-tld-1
   Created:      2017-09-27  14:13:55 UTC
   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
   Created:      2017-09-27  14:14:53 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7245632 Bytes = 6.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK


Starting kernel ...


behavior as with other attempts. hangs there. light remains orange (not blinking)

EDIT: pasted in wrong uboot boot output at first.

Viewing all articles
Browse latest Browse all 3247

Trending Articles