[elbe-users] [newbie] Including Custom Device tree & custom uboot

Ralf Schlatterbeck rsc at runtux.com
Mon Feb 4 10:45:17 CET 2019


On Wed, Jan 30, 2019 at 03:52:24PM +0100, Jerome MOLIERE wrote:
> Hi all,
> 
> sorry I am a newbie with elbe , I just disccovered the tool 2 hours ago...
> 
> I had a first look to your tool and this looks impressive... It seems to
> be the silver bullet but before investigating further I would like to
> know how to
> 
> include .dtb files required for my board and how tu use an already
> compiled uboot....
> 
> I don't want to struggle with copying files all required files and
> libraries to make a proper Debian system...

I'm doing this for the chinese sunXi chipsets (Olimex, Orange-Pi,
Banana-Pi, ...), elbe allows you to copy files to your root filesystem
and use that file in scripts (see the <archive> stanza in the elbe xml
description). I'm using this to copy my boot.scr file to /boot and set
up the bootloader: For the sunXi chipsets the bootloader needs to be at
a certain location inside the boot-sector of an SD-Card image. I'm using
'dd' during the build process to put it there.

What you need to do for your chipset for a successful boot may differ a
lot (e.g. if you don't have an SD image but need to use a NAND flash or
similar).

> I have to port Debian on an IMX6 board from Toradex (Apalis quad core)
> so I thought to use their uboot and to adapt the dtb before launching
> the elbe process managing all details to have a proper ISO image.
> 
> Is it stupid ? Am I missing something ?

Sounds like a plan.

Ralf
-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  www:   http://www.runtux.com
Reichergasse 131, A-3411 Weidling       email: office at runtux.com



More information about the elbe-users mailing list