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.

Cheers,
Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to