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

Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora

$
0
0
Greetings,

I would like to know if this uBoot supports DTS. The reason I'm asking is because I'm trying to use Fedora 18 for ARM with my Pogo E02 and I'm having issues with the latest kernel.

To explain a bit more, I have no problem booting Fedora 18 image available here:

https://fedoraproject.org/wiki/Architectures/ARM/F18/Installation#Using_Fedora_on_a_Kirkwood_Device

Only after updating the system it's just not booting anymore. After reading a bit about this issue, I found that 3.7+ Kernel need uBoot to support DTS.

https://fedoraproject.org/wiki/Architectures/ARM/F18/Installation#Updating_to_the_3.7.2B_Kernel

Here's my uBoot version:

U-Boot 2014.01-tld-1 (Mar 17 2014 - 21:43:49)
Pogo E02

Here's my environment settings:

arcNumber=3542
baudrate=115200
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootwait
bootcmd=usb start; ${loadImage}; ${loadInitrd} ; bootm 0x6400000 0x7400000
bootdelay=10
console=ttyS0,115200
ethact=egiga0
ethaddr=00:25:31:00:9E:BC
fdt_high=0x2C000000
force_rescue=0
force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi
if_netconsole=ping $serverip
initrd_high=0x2C000000
ipaddr=192.168.1.100
led_error=orange blinking
led_exit=green off
led_init=green blinking
loadImage=ext2load usb 0:1 0x6400000 uImage
loadInitrd=ext2load usb 0:1 0x7400000 uInitrd
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
ncip=192.168.1.2
partition=nand0,2
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
preboot=run if_netconsole start_netconsole
rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi
rescue_installed=1
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
serverip=192.168.1.2
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=nc
stdin=nc
stdout=nc
ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi
ubifs_mtd=3
ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot
usb_device=0:1
usb_init=run usb_scan; setenv usb_root LABEL=ROOTFS
usb_root=/dev/sda1
usb_rootdelay=30
usb_rootfstype=ext4
usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done
usb_scan_1=usb=0:1 dev=sda1
usb_scan_2=usb=1:1 dev=sdb1
usb_scan_3=usb=2:1 dev=sdc1
usb_scan_4=usb=3:1 dev=sdd1
usb_scan_list=1 2 3 4
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params

Environment size: 2767/131068 bytes

I tried to replace the kernel with the old one that used to work but it is the same...

Also, when I check /var/log/messages, the last message is when I rebooted after updating so it's not helping finding the problem. That means that the system probably stops right after loading kernel and initrd. I verified that with netconsole and the kernel and initrd are loading fine.

I'm out of options...

Thanks for helping!

Viewing all articles
Browse latest Browse all 47000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>