[opensuse-arm] openSUSE on Odroid XU (with downstream kernel)
Dear list, I have an Odroid XU from Hardkernel with an eMMC memory module. The Linux images provided by Hardkernel and on their forums work (Debian, Ubuntu). Now I'd like to make openSUSE work on it. At the end of this mail, I provide the steps of what I have done so far to prepare an eMMC. With this eMMC, the kernel seems to boot, but all I get is a black screen and the device doesn't appear on the network (so SSH isn't possible). With your help, I hope to be able to make HDMI and ethernet work. Links to openSUSE wiki (not much information) and official site: https://en.opensuse.org/HCL:OdroidXU http://hardkernel.com/main/products/prdt_info.php?g_code=G137510300620 Now, here's how I've prepared the eMMC in detail. (1) I got the SuSE rootfs from here: http://download.opensuse.org/ports/armv7hl/distribution/13.1/appliances/open... (2) And the kernel from here: http://builder.mdrjr.net/kernel-3.4/LATEST/odroidxu.tar.xz (3) Prepared a boot.ini (File attached, I used this as a template: http://builder.mdrjr.net/tools/boot.scr_ubuntu_xu.tar) (4) Prepared rule files with following contents: 40-input.rules: KERNEL=="event*", SUBSYSTEM=="input", MODE="0777", GROUP="adm" 50-hk_hdmi.rules: KERNEL=="fb1", SYMLINK+="fb6" 60-cec.rules: KERNEL=="CEC", MODE="0777" (5) Partitioned the eMMC according to this layout: Device Boot Start End Blocks Id System /dev/sdb1 2048 133119 65536 c W95 FAT32 (LBA) /dev/sdb2 133120 122142719 61004800 83 Linux (6) Prepared partitions with following commands: mkfs.vfat -n boot /dev/sdb1 mkfs.ext4 -L rootfs /dev/sdb2 tune2fs /dev/sdb2 -U e139ce78-9841-40fe-8823-96a304a09859 tune2fs -O ^has_journal /dev/sdb2 (The UID is to make it compatible with hardkernel's kernel update script.) (7) Copied the rootfs to the eMMC, excluding following folders: /lib/modules/3.11.10-2-default /lib/firmware/3.11.10-2-default /boot (8) Copied config-3.4.91, zImage and boot.ini to the boot partition (9) Copied the rule files to /etc/udev/rules.d/ (10) Copied lib/* and usr/* from the kernel to /lib/ and /usr/, using "cp -aR" (don't know if this flags are necessary) With the eMMC prepared like that, the kernel seems to boot (blue LED blinking). The eMMC already has the bootloader preinstalled in a hidden partition. I hope you can give me some hints how to proceed from here. Thanks in advance and kind regards, Joshua Krämer
08.07.2014 20:43, Joshua Krämer пишет:
Dear list,
I have an Odroid XU from Hardkernel with an eMMC memory module. The Linux images provided by Hardkernel and on their forums work (Debian, Ubuntu). Now I'd like to make openSUSE work on it.
It would be great If you upstreamed kernel support for this board. -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Am 09.07.2014 14:42, schrieb Matwey V. Kornilov:
08.07.2014 20:43, Joshua Krämer пишет:
I have an Odroid XU from Hardkernel with an eMMC memory module. The Linux images provided by Hardkernel and on their forums work (Debian, Ubuntu). Now I'd like to make openSUSE work on it.
It would be great If you upstreamed kernel support for this board.
Guess what, I have been working on exactly that. :) https://github.com/afaerber/linux/commits/odroidxu Initial support is already upstream; on top I got the LEDs to the same state as downstream, but USB didn't work yet due to clock/GPIO issues. However, downstream commits are not signed off, so I cannot sign off some of my changes either, making upstreaming difficult. I never tried the 3.4 kernel. For now I suggest their 3.14 kernel: https://github.com/hardkernel/linux/commits/odroid-3.14.y-linaro Also note that their latest U-Boot needs a signed SPL from their forums to enable virtualization functionality. Regards, 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: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (3)
-
Andreas Färber
-
Joshua Krämer
-
Matwey V. Kornilov