Jump to content

How build soft-float image for Orange Pi Zero


itp

Recommended Posts

I want use OPIZero as print-server for Samsung ML-1865w.

But there are not hard-float samsung's proprietary utilities.

 

Explain please how I can build SD image for OPIZero with soft-float version Ubuntu or Debian server.

 

Or may be anybody knows way to run soft-float in hard-float OS.

Link to comment
Share on other sites

After weekend meditation I build armel version of Debian for OrangePi-Zero.


 


And it works.


 


Limitations:


1. There are no armel port for Ubuntu, only Debian.


2. There are no armel version in repository http://apt.armbian.com/dists/jessie/


 


Howto:


1. Git clone Armbian development


2. Modify in lib/configuration.sh switch by appending third section for armel



case $ARCH in
arm64)
[[ -z $KERNEL_COMPILER ]] && KERNEL_COMPILER="aarch64-linux-gnu-"
[[ -z $UBOOT_COMPILER ]] && UBOOT_COMPILER="aarch64-linux-gnu-"
[[ -z $INITRD_ARCH ]] && INITRD_ARCH=arm64
QEMU_BINARY="qemu-aarch64-static"
ARCHITECTURE=arm64
;;

armhf)
[[ -z $KERNEL_COMPILER ]] && KERNEL_COMPILER="arm-linux-gnueabihf-"
[[ -z $UBOOT_COMPILER ]] && UBOOT_COMPILER="arm-linux-gnueabihf-"
[[ -z $INITRD_ARCH ]] && INITRD_ARCH=arm
QEMU_BINARY="qemu-arm-static"
ARCHITECTURE=arm
;;

armel)
[[ -z $KERNEL_COMPILER ]] && KERNEL_COMPILER="arm-linux-gnueabi-"
[[ -z $UBOOT_COMPILER ]] && UBOOT_COMPILER="arm-linux-gnueabi-"
[[ -z $INITRD_ARCH ]] && INITRD_ARCH=arm
QEMU_BINARY="qemu-arm-static"
ARCHITECTURE=arm
;;
esac

3. Run ~/compile.sh ARCH=armel and ignore warning of configuration.sh


 


PS. Link to Armbian_5.24_Orangepizero_Debian_jessie_armel_3.4.113.img


Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines