New U-Boot-Bootloader for Banana PI-R2
Branch: 2019-01-bpi-r2
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
Documentation
Licenses
api
arch
board
cmd
common
configs
disk
doc
drivers
dts
env
examples
fs
include
lib
net
post
scripts
test
tools
.checkpatch.conf
.gitignore
.mailmap
.travis.yml
Kbuild
Kconfig
MAINTAINERS
Makefile
README
README.md
build.sh
config.mk
uEnv.txt

README.md

U-boot for BPI-R2

Requirements

On x86/x64-host you need cross compile tools for the armhf architecture:

sudo apt-get install gcc-arm-linux-gnueabihf libc6-armhf-cross u-boot-tools make gcc swig python-dev

Issues

  • loadenv failes because of resized environment (4096 => 8188)
    • backup your saved environment before update uboot or change back CONFIG_ENV_SIZE to SZ_4K (./build.sh soc)
    • erase your saved environment
mmc erase 800 10
  • no emmc-command (not needed "emmc pconf 0x48" = "mmc partconf 0 1 1 0")

Usage

  ./build.sh importconfig
  ./build.sh config #optional (menuconfig)
  ./build.sh
  ./build.sh install #write to sd-card
  ./build.sh umount #umount automatic mounted partitions