-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2014-05-18 21:38, Andreas Färber wrote:
> Hello,
> 
> I have succeeded in booting our newly built kernel-default package
> from Kernel:HEAD on the Raspberry Pi model B with Factory and
> 3.15-rc2+.
> 
> Here's a quick how-to:
> 
> In yast, add Kernel:HEAD repository: 
> http://download.opensuse.org/repositories/Kernel:/HEAD/ARM/
> 
> Install the kernel package: # zypper in kernel-default-3.15.rc5
> 
> Prepare initrd settings in /etc/sysconfig/kernel: 
> INITRD_MODULES="sdhci-bcm2835"
> 
> Create an initrd: # mkinitrd -v -k
> zImage-3.15.0-rc5-6.g923c7d2-default \ -i
> initrd-3.15.0-rc5-6.g923c7d2-default
> 
> Make the files accessible to U-Boot: # cd /boot # ln -sf
> zImage-3.15.0-rc5-6.g923c7d2-default zImage # ln -sf
> initrd-3.15.0-rc5-6.g923c7d2-default initrd
> 
> In your boot.scr make sure that the initrd is loaded as well,
> e.g.:
> 
> setenv bootargs 'console=ttyAMA0,115200 console=tty1
> root=/dev/mmcblk0p3 rootfstype=ext4 rw rootwait
> dwc_otg.lpm_enable=0'
> 
> ext2load mmc 0:2 ${kernel_addr_r} zImage ext2load mmc 0:2
> ${fdt_addr_r} dtb/bcm2835-rpi-b.dtb ext2load mmc 0:2
> ${ramdisk_addr_r} initrd bootz ${kernel_addr_r}
> ${ramdisk_addr_r}:0x${filesize} ${fdt_addr_r}
> 
> # mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n
> Boot-Script \ -d boot.script .../boot.scr
> 
> Now what's still missing for a proper JeOS image is the QEMU
> problem with partitioning in Kiwi, and right now the build is
> unresolvable.

I had a look at the kiwi-built JeOS image last week as part of my
extra hackweek. It did not use U-boot, so there would be extra work
needed to get that right. Here are my notes:

as documented, only boots after parted resize of mmcblk0p1
fstab has no /boot or /
/ not auto-resized on first boot
u-boot-rpib not installed
/boot/config.txt needs kernel=uboot.bin
u-boot looking for boot.scr.uimg instead of boot.scr
kerneladdr, ramdiskaddr not defined
unknown command ext2load
u-boot: no USB-keyboard support


Ciao
Bernhard M.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlN5qGkACgkQSTYLOx37oWRk0wCg9fl7fTedatV85sY2G2bbbAf+
Ag8An3zvXJb6hCA3LBDknntUW2gq2vxL
=CTcQ
-----END PGP SIGNATURE-----
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to