Difference between revisions of "Making an Openmandriva SD card for the Wandboard"

From Wandboard Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
  
  
Line 23: Line 24:
  
 
The image produced by the create_omv_chroot script is very bare bones. Users would likely want
 
The image produced by the create_omv_chroot script is very bare bones. Users would likely want
to add some
+
to add some additional packages to their system.
 +
 
 +
The command to add packages is <code>urpmi</code>, and can be used both on package names or rpm
 +
files.
 +
 
 +
Examples:
 +
<code>urpmi xterm</code>
 +
 
 +
<code>wget http://abf-downloads.rosalinux.ru/cooker/repository/armv7hl/non-free/release/wandboard-support-bcm43xx-wifi-firmware-1.0-2-omv2015.0.armv7hl.rpm</code><br>
 +
<code>urpmi ./wandboard-support-bcm43xx-wifi-firmware-1.0-2-omv2015.0.armv7hl.rpm</code><br>
 +
 
 +
At the time of writing, http://abf-downloads.rosalinux.ru/cooker/repository/armv7hl, is a good location to look for available packages.
 +
The existence of dedicated imx6 GPU and VPU packages, a kernel-wandboard, is promising for those desiring full GPU/VPU support.
 +
 
 +
Unfortunately, the exact steps on how to enable a (say) KDE desktop with GPU or VPU support on the Wandboard appears undocumented.
 +
 
 +
 
 +
 
 +
== Making the SD card boot on all WB variants ==
 +
 
 +
The SD card image created by the omv_create_chroot script is only bootable on Wandboard Quad.
 +
To improve on this, the Wandboard team has modified the WB u-boot to boot Open Mandriva.
 +
 
 +
1. Download WB u-boot from github
 +
 
 +
Patch with the patch _here_
 +
 
 +
install u-boot with:
 +
<code>sudo dd if=SPL of=/dev/sdx bs=1k seek=1 oflag=dsync</code><br>
 +
<code>sudo dd if=u-boot.img of=/dev/sdx bs=1k seek=69 oflag=dsync</code

Revision as of 12:41, 29 May 2015


Basic SD card installation

OpenMandriva people provides a very handy script that can be used to create an SD card.

git clone https://github.com/fedya/omv_wandboard
cd omv_wandboard
sh create_omv_chroot.sh sd[X] - where X is your disk

wait one minute and image is ready to boot.


For those who have problems, or want more control of the process, the root file system is located at. http://downloads.sourceforge.net/project/openmandriva/Raspberry_Pi2/pi2-OpenMandrivaLx.2014.1-kde4.img.tar.xz

The wandboard u-boot has to be adapted to load the vmlinuz zImage kernel used by OpenMandriva


Beyond basic

The image produced by the create_omv_chroot script is very bare bones. Users would likely want to add some additional packages to their system.

The command to add packages is urpmi, and can be used both on package names or rpm files.

Examples: urpmi xterm

wget http://abf-downloads.rosalinux.ru/cooker/repository/armv7hl/non-free/release/wandboard-support-bcm43xx-wifi-firmware-1.0-2-omv2015.0.armv7hl.rpm
urpmi ./wandboard-support-bcm43xx-wifi-firmware-1.0-2-omv2015.0.armv7hl.rpm

At the time of writing, http://abf-downloads.rosalinux.ru/cooker/repository/armv7hl, is a good location to look for available packages. The existence of dedicated imx6 GPU and VPU packages, a kernel-wandboard, is promising for those desiring full GPU/VPU support.

Unfortunately, the exact steps on how to enable a (say) KDE desktop with GPU or VPU support on the Wandboard appears undocumented.


Making the SD card boot on all WB variants

The SD card image created by the omv_create_chroot script is only bootable on Wandboard Quad. To improve on this, the Wandboard team has modified the WB u-boot to boot Open Mandriva.

1. Download WB u-boot from github

Patch with the patch _here_

install u-boot with: sudo dd if=SPL of=/dev/sdx bs=1k seek=1 oflag=dsync
sudo dd if=u-boot.img of=/dev/sdx bs=1k seek=69 oflag=dsync</code