Difference between revisions of "EBC Exercise 40 Running buster on AI"

From eLinux.org
Jump to: navigation, search
m (more details)
m (u-boot)
Line 4: Line 4:
 
Here are instructions on how to install a current image on the BeagleBone AI.
 
Here are instructions on how to install a current image on the BeagleBone AI.
  
== Download ==
+
== Download Current Image ==
  
 
Go to https://rcn-ee.com/rootfs/bb.org/testing/ and click on the most current date.  You'll see something like:
 
Go to https://rcn-ee.com/rootfs/bb.org/testing/ and click on the most current date.  You'll see something like:
Line 16: Line 16:
 
Download the one that starts with '''am57xx''' and ends with '''.img.xz'''.  Flash to an 8G SD card usig https://www.balena.io/etcher/.
 
Download the one that starts with '''am57xx''' and ends with '''.img.xz'''.  Flash to an 8G SD card usig https://www.balena.io/etcher/.
  
Next clone
+
Your SD card is ready to run on an ''x15'', so next we update u-boot to run on an AI.
  
  git clone https://github.com/jadonk/beaglebone-ai.git
+
== Download u-boot ==
  cd beaglebone-ai/SW/u-boot
+
 
  ./build.sh  # Took XX minutes
+
Next clone the u-boot source.
This will download the correct compiler and ...
+
 
 +
  host$ '''git clone https://github.com/jadonk/beaglebone-ai.git'''
 +
  host$ '''cd beaglebone-ai/SW/u-boot'''
 +
host$ '''sudo apt install bison flex'''
 +
  host$ '''./build.sh''' # Took about 6.5 minutes
 +
This will download u-boot and the correct compiler and compile u-boot.
 +
host$ '''export DISK=/dev/mmcblk0p1'''  # Make sure this points to your SD card
 +
host$ '''./flash_mainline.sh'''
 +
1+1 records in
 +
1+1 records out
 +
133062 bytes (133 kB, 130 KiB) copied, 0.00132487 s, 100 MB/s
 +
2+1 records in
 +
2+1 records out
 +
1168016 bytes (1.2 MB, 1.1 MiB) copied, 0.00160025 s, 730 MB/s
 +
 
 +
Your SD card should be set up with a current u-boot.
  
 
{{YoderFoot}}
 
{{YoderFoot}}

Revision as of 13:14, 4 June 2019

thumb‎ Embedded Linux Class by Mark A. Yoder


Here are instructions on how to install a current image on the BeagleBone AI.

Download Current Image

Go to https://rcn-ee.com/rootfs/bb.org/testing/ and click on the most current date. You'll see something like:

Screenshot from 2019-06-04 15-41-10.png

Click on buster-iot and you'll see:

Screenshot from 2019-06-04 15-44-27.png

Download the one that starts with am57xx and ends with .img.xz. Flash to an 8G SD card usig https://www.balena.io/etcher/.

Your SD card is ready to run on an x15, so next we update u-boot to run on an AI.

Download u-boot

Next clone the u-boot source.

host$ git clone https://github.com/jadonk/beaglebone-ai.git
host$ cd beaglebone-ai/SW/u-boot
host$ sudo apt install bison flex
host$ ./build.sh  # Took about 6.5 minutes

This will download u-boot and the correct compiler and compile u-boot.

host$ export DISK=/dev/mmcblk0p1   # Make sure this points to your SD card
host$ ./flash_mainline.sh 
1+1 records in
1+1 records out
133062 bytes (133 kB, 130 KiB) copied, 0.00132487 s, 100 MB/s
2+1 records in
2+1 records out
1168016 bytes (1.2 MB, 1.1 MiB) copied, 0.00160025 s, 730 MB/s

Your SD card should be set up with a current u-boot.




thumb‎ Embedded Linux Class by Mark A. Yoder