On 10.01.2012, at 21:22, Dirk Müller wrote:
On Saturday 07 January 2012, Alexander Graf wrote:
I started work on an Efika kiwi description, but didn't finish it until xmas and am. currectly busy on some PPC work :)
But as soon as I have something I'll let you know!
Hi,
we have a "JeOS" image building in the build service:
https://build.opensuse.org/package/show?package=JeOS&project=openSUSE%3AFactory%3AARM
(well at the moment it is broken due to an unrelated package messup that I already fixed, but anyway).
this image should boot on pandaboards (did not personally try it yet, but will as soon as I find a free minute). if there are any fixes needed, please submitrequest them.
if somebody could tell me what the difference for efika's is, then I'll be glad to add a JeOS-efikamx as well.
IIRC the difference for efika is the different kernel and a slightly different boot.scr. This was the WIP patch I was at when going for christmas. I haven't worked on it since then though, so no idea if it actually did work ;). diff --git a/modules/KIWIBoot.pm b/modules/KIWIBoot.pm index 5db1efa..05063db 100644 --- a/modules/KIWIBoot.pm +++ b/modules/KIWIBoot.pm @@ -3672,7 +3672,8 @@ sub setupBootLoaderConfiguration { #------------------------------------------ $kiwi -> info ("Creating uBoot initrd image..."); $cmdline =~ s/\n//g; - my $mkopts = "-A arm -O linux -T ramdisk -C none -a 0x0 -e 0x0"; +# my $mkopts = "-A arm -O linux -T ramdisk -C none -a 0x0 -e 0x0"; + my $mkopts = "-A arm -T ramdisk -C none -a 0x0 -e 0x0"; my $inputf = "$tmpdir/boot/initrd.vmx"; my $result = "$tmpdir/boot/initrd.uboot"; my $data = qxx ("mkimage $mkopts -n 'Initrd' -d $inputf $result"); @@ -3697,14 +3698,17 @@ sub setupBootLoaderConfiguration { $kiwi -> failed (); return; } - print FD 'setenv ramdisk boot/initrd.uboot;'."\n"; - print FD 'setenv kernel boot/linux.vmx;'."\n"; +# print FD 'setenv ramdisk boot/initrd.uboot;'."\n"; +# print FD 'setenv kernel boot/linux.vmx;'."\n"; print FD 'setenv initrd_high "0xffffffff";'."\n"; print FD 'setenv fdt_high "0xffffffff";'."\n"; + # make the EFIKA behave like an OMAP variable-wise + print FD 'if test -n $kerneladdr; then setenv kernel_addr_r $kerneladdr; fi'."\n"; + print FD 'if test -n $ramdiskaddr; then setenv ramdisk_addr_r $ramdiskaddr; fi'."\n"; print FD 'setenv bootcmd "'; - print FD 'fatload mmc 0:1 0x80000000 boot/linux.vmx; '; - print FD 'fatload mmc 0:1 0x81600000 boot/initrd.uboot; '; - print FD 'bootm 0x80000000 0x81600000";'."\n"; + print FD 'fatload mmc 0:1 $kernel_addr_r boot/linux.vmx; '; + print FD 'fatload mmc 0:1 $ramdisk_addr_r boot/initrd.uboot; '; + print FD 'bootm $kernel_addr_r $ramdisk_addr_r";'."\n"; if ($type =~ /^KIWI CD/) { $kiwi -> failed (); $kiwi -> error ("*** uboot: CD boot not supported ***"); diff --git a/template/armv7l/suse-SLE12-JeOS/config.xml b/template/armv7l/suse-SLE12-JeOS/config.xml index b487c7a..bdfca91 100644 --- a/template/armv7l/suse-SLE12-JeOS/config.xml +++ b/template/armv7l/suse-SLE12-JeOS/config.xml @@ -10,7 +10,7 @@ </description> <preferences> <type image="tbz" primary="true"/> - <type image="vmx" filesystem="ext4" boot="vmxboot/suse-SLES12" bootloader="uboot" bootkernel="omap4panda" kernelcmdline="console=ttyO2"> + <type image="vmx" filesystem="ext4" boot="vmxboot/suse-SLES12" bootloader="uboot" bootkernel="imx51" kernelcmdline="console=ttymxc0"> <systemdisk/> </type> <version>1.12.1</version> -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org