Le 18/05/2014 21:38, Andreas Färber a écrit :
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+.
Sounds good. :) What is supported/unsupported compared to kernel-raspberrypi? Video output, video encoding/decoding acceleration, 3D acceleration, sound, etc?
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.
Do you have a GPT or MBR partitioning? Could you give us your SD card partition layout, please? Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org