[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kirkwood kernel installation



On Sat, 2013-08-31 at 20:51 +0200, Paul Kocialkowski wrote:
> Le samedi 31 août 2013 à 19:24 +0100, Tixy a écrit :
> > I did notice when I first got the Dreamplug that the supplied U-Boot was
> > very slow, especially enumerating the USB devices. With the Debian
> > U-Boot that takes about 3 or 4 seconds, then a second to load the kernel
> > and initrd.
> 
> I'm using the Debian u-boot too. Can you provide me with the exact
> version you have installed? Also, it would be nice if you could post
> your bootcmd as well.
> 

I got it from [1] and when it boots it says "U-Boot 2013.01.01 (May 10
2013 - 06:32:54)".

[1] http://ftp.debian.org/debian/pool/main/u/u-boot/u-boot_2013.01.01-4_armel.deb


>From my notes, I set it up the U-Boot environment with the following...

        setenv ethaddr F0:AD:xx:xx:xx:xx
        setenv eth1addr F0:AD:xx:xx:xx:xx
        
        setenv boot_device 1
        setenv bootargs 'console=ttyS0,115200n8'
        setenv bootcmd_usb 'usb start; ext2load usb ${boot_device} 0x00800000 uImage; ext2load usb ${boot_device} 0x01100000 uInitrd'
        setenv bootcmd 'setenv bootargs $(bootargs); run bootcmd_usb; bootm 0x00800000 0x01100000'
        saveenv


And also from my notes, I hacked flash-kernel so it doesn't assume that
the kernel lives on the internal card.

        For entry under "Machine: Globalscale Technologies Dreamplug"
        
        Replace
        
        	Boot-Device: /dev/sda1
        	Boot-Kernel-Path: uImage
        	Boot-Initrd-Path: uInitrd
        	Boot-DTB-Path: dtb
        with
        	Boot-Kernel-Path: /boot/uImage
        	Boot-Initrd-Path: /boot/uInitrd
        	Boot-DTB-Path: /boot/dtb


And, when installing Wheezy I created an ext2 boot partition on the SD
card as well as a root filesystem partition.

-- 
Tixy


Reply to: