Actions

EmSys

Difference between revisions of "Build U-Boot For BeagleBone"

From EdWiki

m
m (Build U-Boot For BeagleBone)
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
  
=== Build U-Boot For BeagleBone ===
+
==== Build U-Boot For BeagleBone ====
 
Das U-Boot – the Universal Boot Loader: [http://www.denx.de/wiki/U-Boot U-Boot]<br />
 
Das U-Boot – the Universal Boot Loader: [http://www.denx.de/wiki/U-Boot U-Boot]<br />
 
eewiki.net patch archive: [https://github.com/eewiki/u-boot-patches u-boot-patches]<br />
 
eewiki.net patch archive: [https://github.com/eewiki/u-boot-patches u-boot-patches]<br />
  
==== Download ====
+
===== Download =====
  
 
  $ cd ~/bbb_build
 
  $ cd ~/bbb_build
Line 12: Line 12:
 
  $ git checkout v2019.04 -b v2019.04
 
  $ git checkout v2019.04 -b v2019.04
  
==== Patches ====
+
===== Patches =====
  
 
  $ cd ~/bbb_build/u-boot
 
  $ cd ~/bbb_build/u-boot
Line 21: Line 21:
 
  $ patch -p1 < 0002-U-Boot-BeagleBone-Cape-Manager.patch
 
  $ patch -p1 < 0002-U-Boot-BeagleBone-Cape-Manager.patch
  
==== Configure and Build ====
+
===== Configure and Build =====
  
 
  $ make ARCH=arm CROSS_COMPILE=${CC} distclean
 
  $ make ARCH=arm CROSS_COMPILE=${CC} distclean

Latest revision as of 15:16, 1 December 2020


Build U-Boot For BeagleBone

Das U-Boot – the Universal Boot Loader: U-Boot
eewiki.net patch archive: u-boot-patches

Download
$ cd ~/bbb_build
$ git clone https://github.com/u-boot/u-boot
$ cd u-boot/
$ git checkout v2019.04 -b v2019.04
Patches
$ cd ~/bbb_build/u-boot
$ wget -c https://github.com/eewiki/u-boot-patches/raw/master/v2019.04/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch
$ wget -c https://github.com/eewiki/u-boot-patches/raw/master/v2019.04/0002-U-Boot-BeagleBone-Cape-Manager.patch
 
$ patch -p1 < 0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch
$ patch -p1 < 0002-U-Boot-BeagleBone-Cape-Manager.patch
Configure and Build
$ make ARCH=arm CROSS_COMPILE=${CC} distclean
$ make ARCH=arm CROSS_COMPILE=${CC} am335x_evm_defconfig
$ make ARCH=arm CROSS_COMPILE=${CC}