Difference between revisions of "Beagleboard:Capes 3.8 to 3.14"

From eLinux.org
Jump to: navigation, search
m (add make install)
m (Custom dtb)
Line 98: Line 98:
  
 
= Custom dtb =  
 
= Custom dtb =  
 +
By default, u-boot will load a *.dtb based on what board it is:
 +
BeagleBone White: am335x-bone.dtb
 +
BeagleBone Black: am335x-boneblack.dtb
 +
 +
Unless it's overwritten by a variable [dtb=] in uEnv.txt:
 +
dtb=am335x-boneblack-4dcape-43t.dtb (in this example, it would load the pre-built 4dcape43t)
 +
 +
Clone dtb-rebuilder
 
  git clone -b 3.14-ti https://github.com/RobertCNelson/dtb-rebuilder.git
 
  git clone -b 3.14-ti https://github.com/RobertCNelson/dtb-rebuilder.git
 
  cd dtb-rebuilder/
 
  cd dtb-rebuilder/
 +
 +
BeagleBone White:
 +
./src/arm/am335x-bone.dts
 +
 +
BeagleBone Black:
 +
./src/arm/am335x-boneblack.dts
  
 
Build *.dtb:
 
Build *.dtb:

Revision as of 02:31, 28 August 2014

Capes

Latest 3.14 to support all:

sudo apt-get update
sudo apt-get install linux-image-3.14.17-ti-r15

crypto

http://elinux.org/Cryptotronix:CryptoCape
dtb=<device>-crypto-00a0.dtb
rtc [x]
atmel_tpm [x]
atmega_uart4 [x]
atmega_gpio1_13_gpio1_17 [ ]

lcd3

lcd3-01-00a2

dtb=<device>-lcd4-01-00a2.dtb
screen [x]
backlight (gpio) [x]
backlight (pwm) [ ]
touchscreen (4wire) [x]
buttons [X]
led [X]

lcd4

4dcape-43

dtb=am335x-boneblack-4dcape-43.dtb
screen [x]
backlight (gpio) [x]
backlight (pwm) [ ]
buttons [x]
led [x]

4dcape-43t

dtb=am335x-boneblack-4dcape-43t.dtb
screen [x]
backlight (gpio) [x]
backlight (pwm) [ ]
touchscreen (4wire) [x]
buttons [x]
led [x]

lcd4-01-00a1

dtb=<device>-lcd4-01-00a1.dtb
screen [x]
backlight (gpio) [x]
backlight (pwm) [ ]
touchscreen (4wire) [x]
buttons [X]
led [X]

lcd7

4dcape-70

dtb=am335x-boneblack-4dcape-70.dtb
screen [x]
backlight (gpio) [x]
backlight (pwm) [ ]
buttons [x]
led [x]

4dcape-70t

dtb=am335x-boneblack-4dcape-70t.dtb
screen [x]
backlight (gpio) [x]
backlight (pwm) [ ]
touchscreen (4wire) [x]
buttons [x]
led [x]

lcd7-01-00a2

untested: (no hardware)

dtb=<device>-lcd7-01-00a2.dtb
screen [x]
backlight (gpio) [x]
backlight (pwm) [ ]
touchscreen (4wire) [x]
buttons [x]
led [x]

lcd7-01-00a3

dtb=<device>-lcd7-01-00a3.dtb
screen [x]
backlight (gpio) [x]
backlight (pwm) [ ]
touchscreen (4wire) [x]
buttons [x]
led [x]

rtc

http://elinux.org/CircuitCo:RTC_Cape
dtb=<device>-rtc-01-00a1.dtb
rtc [x]
gpio_wakup [x] - untested

Custom dtb

By default, u-boot will load a *.dtb based on what board it is:

BeagleBone White: am335x-bone.dtb
BeagleBone Black: am335x-boneblack.dtb

Unless it's overwritten by a variable [dtb=] in uEnv.txt:

dtb=am335x-boneblack-4dcape-43t.dtb (in this example, it would load the pre-built 4dcape43t)

Clone dtb-rebuilder

git clone -b 3.14-ti https://github.com/RobertCNelson/dtb-rebuilder.git
cd dtb-rebuilder/

BeagleBone White:

./src/arm/am335x-bone.dts

BeagleBone Black:

./src/arm/am335x-boneblack.dts

Build *.dtb:

make

Install *.dtb:

sudo make install