Jump to content

[Device specific] Odroid XU4 part3 / Armbian Next / Single partition boot for SD & eMMC


Recommended Posts

I have pushed some changes for XU4 with the help of so many internet sources (thanks!)

- uboot 2016.05

- vanilla kernel (4.7.6 as of now)

- single partition (using the LABEL=rootfs for booting)

- SD & eMMC

 

for eMMC, burn the image on both a SD card & eMMC first, boot with SD card to write files on mmcblk0boot0 partition, then

cd /usr/lib/linux-u-boot-next-odroidxu4_5.21-GRO_armhf (probably remove -GRO)
-rw-r--r-- 1 root root  15616 oct.   1 01:58 bl1.bin.hardkernel
-rw-r--r-- 1 root root  14592 oct.   1 01:58 bl2.bin.hardkernel.1mb_uboot
-rw-r--r-- 1 root root   1807 oct.   1 01:58 sd_fusing.sh
-rw-r--r-- 1 root root 262144 oct.   1 01:58 tzsw.bin.hardkernel
-rw-r--r-- 1 root root 548159 oct.   1 01:58 u-boot-dtb.bin

then

sudo bash ./sd_fusing.sh /dev/mmcblk0

eventually, remove the SD card, power-off, boot from eMMC

 

Please, I would need help to check the changes, probably testing with Xenial (as I am using CLI Jessie so far)

 

you can fetch the source here

https://github.com/golfromeo-fr/lib/tree/gro_master

or later in the master branch https://github.com/igorpecovnik/lib/issues/482

 

thanks!

 

some config I am using

 

 

[gr@server1604:~/gro_armbian] $ cat helper_compile_xu4.sh
#!/bin/bash

function do_clean_up()
{
        # update all "lib" files to logname user (for forked "lib" and github RSA public key)
        chown -R $(/usr/bin/logname):$(/usr/bin/id -g $(/usr/bin/logname)) $SRC 
}

trap '{ echo "Hey, you pressed Ctrl-C.  Time to quit." ; do_clean_up; exit 1; }' INT

# uncomment if you want the Armbian "lib" to be managed with logname user (login name)
# instead of root
PREFIX_GIT_LIB='sudo -u $(/usr/bin/logname)'

NO_APT_CACHER="no"

PRIVATE_CCACHE="yes"

EXTERNAL="no"

USE_CCACHE="yes"
EXPERIMENTAL_DEBOOTSTRAP="yes"
EXTENDED_DEBOOTSTRAP="yes"

COMPRESS_OUTPUTIMAGE="yes"
SEVENZIP="yes"

BUILD_DESKTOP="no"

#RELEASE="xenial"
RELEASE="jessie"

SUBREVISION="-GRO"

BOARD="odroidxu4"
BRANCH="next"

PROGRESS_DISPLAY="plain"
PROGRESS_LOG_TO_FILE="yes"

KERNEL_ONLY="no"
KERNEL_CONFIGURE="no"

DEST_LANG="fr_FR.UTF-8"

 

 

note: zador.blood.stain is making the framework so well, it's getting quite easy to achieve this. So nice!

Link to comment
Share on other sites

xenial: still the old issue eth0 is enx001e06301503

 

this xenial thing gave me the opportunity to test the HDMI console and figure out the usb2 port is working

 

so the XU4 is working with vanilla software, even with eMMC, I cannot believe this.

 

Samsung Opensource Group team is just great.

Edited by goldfish_paris
some editing
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