BananaPi-M7 u-boot image

Does anyone have an uptodate or older u-boot image for the BananaPi-M7 or Sige7 if that will work please ?

The mainline U-Boot should already be compatible with booting SIG/GE7. You can find the Rockchip U-Boot here: GitHub - ArmSoM/u-boot

For long-term development needs, you can use our BSP: GitHub - ArmSoM/manifests: ARMSOM series board source code repository

Here is the documentation: 1. ArmSom-SDK Release | ArmSoM docs

We will maintain this service long-term. Please feel free to provide any feedback.

1 Like

Hi Lou,

Do you have an existing built u-boot image for the BananaPi-M7 ?

I am wondering if it would be possible to add a GitHub build action and releases ? I could help with this if needed.

Aaron

@luo I have got to :- 4.2 Update Individual Source Code Repositories Using Git

cd debain12

debian is spelt wrong ! Correcting this

cd debian12

Next … I am getting

aaronngray@ubuntu:~/armsom-sdk$ cd debian12
aaronngray@ubuntu:~/armsom-sdk/debian12$ # Checkout to corresponding repository's default branch
git checkout lbc-develop-5.10

# Pull git repository
git pull
error: pathspec 'lbc-develop-5.10' did not match any file(s) known to git
remote: Enumerating objects: 15, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 9 (delta 5), reused 9 (delta 5), pack-reused 0 (from 0)
Unpacking objects: 100% (9/9), 4.39 MiB | 2.53 MiB/s, done.
From https://github.com/armsom/debian12
 * [new branch]      main       -> origin/main
You are not currently on a branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

    git pull <remote> <branch>

aaronngray@ubuntu:~/armsom-sdk/debian12$ git branch
* (no branch)

ls .git is giving :-

aaronngray@ubuntu:~/armsom-sdk/debian12$ ls .git
branches  description  HEAD   index  logs     packed-refs  rr-cache
config    FETCH_HEAD   hooks  info   objects  refs         shallow

I am confused as .git directory is a link :-

aaronngray@ubuntu:~/armsom-sdk/debian12$ ls -al .git
lrwxrwxrwx 1 aaronngray aaronngray 30 Dec 30 15:15 .git -> ../.repo/projects/debian12.git

Even trying :-

aaronngray@ubuntu:~/armsom-sdk/debian12$ git clone --bare ../.repo/projects/debian12.git
Cloning into bare repository 'debian12.git'...
remote: Enumerating objects: 1550, done.
remote: Counting objects: 100% (1550/1550), done.
remote: Compressing objects: 100% (1288/1288), done.
remote: Total 1550 (delta 159), reused 1550 (delta 159), pack-reused 0
Receiving objects: 100% (1550/1550), 921.81 MiB | 101.15 MiB/s, done.
Resolving deltas: 100% (159/159), done.
aaronngray@ubuntu:~/armsom-sdk/debian12$ git branch
* (no branch)

I am getting no branch !

My setup :-

aaronngray@ubuntu:~/armsom-sdk/debian12$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.3 LTS
Release:	24.04
Codename:	noble
aaronngray@ubuntu:~/armsom-sdk/debian12$ git --version
git version 2.43.0

I overwrite Debian12 with :-

git clone https://github.com/ArmSoM/debian12.git

Ran

./build.sh armsom-sige7_rk3588_debian_xfce_linux6.1_defconfig

./build.sh uboot asked me to install Python 2 :-

wget https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tgz
tar xf Python-2.7.18.tgz
cd Python-2.7.18
sudo apt-get install libsqlite3-dev
./configure --enable-optimizations
sudo make install -j8
./build.sh uboot

./build debian did not work it asked me to install :-

sudo apt-get remove live-build
git clone https://salsa.debian.org/live-team/live-build.git --depth 1 -b debian/1%20230131

and build

cd live-build
rm -rf manpages/po/
sudo make install -j8
cd ..
./build.sh debian

built

I have the following which is what I think I need to create a mmcblk0 bootstrap for booting NVMe :-

aaronngray@ubuntu:~/armsom-sdk$ ls output/firmware
MiniLoaderAll.bin  rootfs.img  uboot.img

Are there any instructions for burning them to the mmcblk0 eMMC flash please ?

It would be good to get this corrected and make it as a GitHub Action generating releases on any updates.

./build.sh armsom-sige7_rk3588_debian_xfce_linux6.1_defconfig After executing this command, it is best to execute it /Build. sh to generate complete firmware, and then consider compiling partitions