Alex Armstrong wrote:
> Andreas Färber wrote:
>> Am 14.09.2014 um 02:27 schrieb Alex Armstrong:
>>> Greetings,
>>>
>>> I had a chance to test JeOS Factory Build 207.2 (13-Sep-14) on the Pi
>>> this weekend and found it didn't boot.
>>>
>>> U-boot loads.
>>> It looks for /uEnv.txt, fails to find it.
>>> U-boot next looks for, and finds /boot.scr.
>>> It reads and executes the scrip.
>>>
>>> Then this happens:
>>> -----
>>> switch to partitions #0, OK
>>> mmc is current device
>>> ** File not found boot/linux.vmx **
>>> SCRIPT FAILED: continuing...
>>> ** Bad Partition specification mmc 0:0:2 **
>>> ** Bad Partition specification mmc 0:0:2 **
>>> ** Bad Partition specification mmc 0:0:2 **
>> These should be 0:2, so maybe a variable mixup in the script?
>>
>> Regards,
>> Andreas
>>
> I haven't yet found what's causing this, but I'm a bit confused by
> something else too.
>
> I think that the boot script is looking to boot 'boot/linux.vmx' with
> initrd 'boot/initrd.uboot' on the Second Partition (if I'm reading it
> right). But when I look at the directory structure I see this:
>
> <First Partition>
> BOOT/boot/
> - linux.vmx
> - initrd.uboot
>
> <Second Partition>
> /boot/
> - zImage -> zImage-3.11.4-3-raspberrypi
> - vmlinux-3.11.4-3-raspberrypi
> - initrd -> [broken link]
>
> What am I missing?
>
> -A
Once at the u-boot prompt it's possible to load a kernel and initrd by
hand with these commands:
<To load the kernel in the BOOT partition>
load mmc 0:1 ${kerneladdr} ${kernel}
<OR can load kernel from root partition /boot/>
load mmc 0:2 ${kerneladdr} boot/zImage
<To load inird in BOOT partition>
load mmc 0:1 ${ramdiskaddr} ${initrd}; setenv rd_filesize
${sizeprefix}:${filesize}
Then can boot with:
bootz ${kerneladdr} ${ramdiskaddr}:${rd_filesize}
This starts the kernel booting - it uncompresses, verifies the checksum
and boots Linux - but at about 4 seconds in it hangs while trying to
register the ethernet device:
------
usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
usb 1-1.1: New USB device string: Mfr=0, Product=0, SerialNumber=0
smsc95xx v1.0.4
smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1,
smsc95xx USB 2.0 Ethernet, 7a:60:5a:4c:e1:ea
------
-A
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]