R3 Ubuntu source code?

Is it possible to build ubuntu for R3 from scratch?

If so, are there recommended instructions to be followed, such as build environment and commands? It is preferred to customize .dts and files to build image for NAND/eMMC.

Thanks, Bruce

My images repo builds ubuntu images using debootstrap (minimal packages),but not completely from source

Building for nand is much more tricky as it cannot contain a filesystem like ext4. I have a nand branch there which builds an ubinized image with kernel and buildroot initrd. Afaik enough as rescue system.

There are many ways to get linux on the R3. My archlinux arm repo is one of them and also there is an option for Ubuntu, although what I do there probably is not what you want. Maybe you can be more specific what you want.

Um… I’m looking for methods to build Ubuntu image manually that suits the R3 board first. I found Frank’s https://github.com/frank-w/BPI-Router-Linux, is this better to start with? It looks more likely a Linux source structure.

Besides, what is the major difference between it and the https://github.com/frank-w/BPI-Router-Images?

From the BPI-Router-Linux README, it mentions https://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r4:start#debian_ubuntu_image_building the section introduced https://github.com/frank-w/u-boot/. So I’m thinking about the process is to build the Uboot and Linux kernel, am I correct?

And how to make use of the BPI-Router-Images repo?

https://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r4:start#debian_ubuntu_image_building

Should be all deacribed here and in the readme of the repos. If something is missing let me know.

There are also prebuilt images from this repo you can use.