0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

u-boot settings for Raspberry Pi 3 B

Posted at

Basically, we have to follow only https://elinux.org/RPi_U-Boot

Make u-boot on Ubuntu 18.04

Create u-boot.bin from source code.

git clone git://git.denx.de/u-boot.git
cd u-boot
sudo apt install gcc-arm-linux-gnueabi
sudo apt install gcc-aarch64-linux-gnu
export CROSS_COMPILE=aarch64-linux-gnu-
make rpi_3_defconfig
make -j1 -s
sudo cp u-boot.bin /media/user/boot/kernel8.img

Copy u-boot image to SD micro card.
Copy u-boot image to boot partition as kernel8.img.
SD card is already installed raspbian.

sudo cp u-boot.bin /media/user/boot/kernel8.img

Connect Rapsberry Pi 3 and PC

Raspberry Pi 3 B pin assign is as following

  • PIN 6 GND
  • PIN 8 TX
  • PIN10 TX

IMG_20200328_130103.jpg
We should confirm boot raspbian and enable GPIO.

Serial Setting on PC

  • Boolate: 115200
  • data: 8bit
  • parity: None
  • Stop: 1bit
  • Flow control: Nonee

After Raspberry Pi boot, We can find u-boot pronto on serial port.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?