İçeriğe geç
Derleme / Geliştirme

U-Boot ve çekirdeği kaynak koddan derleme

Banana Pi BPI-M2 Ultra · BPI-M2U-bsp deposu ile önyükleyici ve Linux çekirdeğini derleme.

Derleme için gerekli araçları kurun:

apt-get update
apt-get install gcc-arm-linux-gnueabihf u-boot-tools
apt-get install pv
curl -sL https://github.com/BPI-SINOVOIP/bpi-tools/raw/master/bpi-tools | sudo -E bash

BSP deposunu klonlayıp derleme betiğini çalıştırın:

git clone https://github.com/BPI-SINOVOIP/BPI-M2U-bsp.git
cd BPI-M2U-bsp
./build.sh

Not: Salt okunur bağlanmış kök dosya sistemini yazılabilir yapmak gerekirse: mount -o remount,rw /