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

From eLinux.org
Jump to: navigation, search
m (Capes)
(12 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
Latest 3.14 to support all:
 
Latest 3.14 to support all:
 
  sudo apt-get update
 
  sudo apt-get update
  sudo apt-get install linux-image-3.14.17-ti-r13
+
  sudo apt-get install linux-image-3.14.19-ti-r23
  
 
== crypto ==
 
== crypto ==
Line 28: Line 28:
 
=== 4dcape-43 ===
 
=== 4dcape-43 ===
 
  dtb=am335x-boneblack-4dcape-43.dtb
 
  dtb=am335x-boneblack-4dcape-43.dtb
  screen [git]
+
  screen [x]
  backlight (gpio) [git]
+
  backlight (gpio) [x]
 
  backlight (pwm) [ ]
 
  backlight (pwm) [ ]
  buttons [git]
+
  buttons [x]
  led [git]
+
  led [x]
  
 
=== 4dcape-43t ===
 
=== 4dcape-43t ===
 
  dtb=am335x-boneblack-4dcape-43t.dtb
 
  dtb=am335x-boneblack-4dcape-43t.dtb
  screen [git]
+
  screen [x]
  backlight (gpio) [git]
+
  backlight (gpio) [x]
 
  backlight (pwm) [ ]
 
  backlight (pwm) [ ]
  touchscreen (4wire) [git]
+
  touchscreen (4wire) [x]
  buttons [git]
+
  buttons [x]
  led [git]
+
  led [x]
 +
 
 +
=== bb-view-43 ===
 +
dtb=<device>-bb-view-43.dtb
 +
screen [x] (need to fix the red <-> blue)
 +
backlight (gpio) [x]
 +
backlight (pwm) [ ]
 +
touchscreen (4wire) [x]
 +
buttons [X]
 +
led [X]
  
 
=== lcd4-01-00a1 ===
 
=== lcd4-01-00a1 ===
Line 56: Line 65:
 
=== 4dcape-70 ===
 
=== 4dcape-70 ===
 
  dtb=am335x-boneblack-4dcape-70.dtb
 
  dtb=am335x-boneblack-4dcape-70.dtb
  screen [git]
+
  screen [x]
  backlight (gpio) [git]
+
  backlight (gpio) [x]
 
  backlight (pwm) [ ]
 
  backlight (pwm) [ ]
  buttons [git]
+
  buttons [x]
  led [git]
+
  led [x]
  
 
=== 4dcape-70t ===
 
=== 4dcape-70t ===
 
  dtb=am335x-boneblack-4dcape-70t.dtb
 
  dtb=am335x-boneblack-4dcape-70t.dtb
  screen [git]
+
  screen [x]
  backlight (gpio) [git]
+
  backlight (gpio) [x]
 
  backlight (pwm) [ ]
 
  backlight (pwm) [ ]
  touchscreen (4wire) [git]
+
  touchscreen (4wire) [x]
  buttons [git]
+
  buttons [x]
  led [git]
+
  led [x]
 +
 
 +
=== Chipsee bbb-exp-c ===
 +
Make sure xorg is in 24 bit mode:
 +
sudo sed -i -e 's:16:24:g' /etc/X11/xorg.conf
 +
 
 +
dtb=am335x-boneblack-bbb-exp-c.dtb
 +
screen [x]
 +
backlight (gpio) [x]
 +
backlight (pwm) [ ]
 +
touchscreen (capactive touch) [x] (the startup calibrator script doesn't always pick it up on startup)
 +
buttons [x]
 +
led [x]
  
 
=== lcd7-01-00a2 ===
 
=== lcd7-01-00a2 ===
Line 75: Line 96:
 
  dtb=<device>-lcd7-01-00a2.dtb
 
  dtb=<device>-lcd7-01-00a2.dtb
 
  screen [x]
 
  screen [x]
  backlight (gpio) [git]
+
  backlight (gpio) [x]
 
  backlight (pwm) [ ]
 
  backlight (pwm) [ ]
  touchscreen (4wire) [git]
+
  touchscreen (4wire) [x]
  buttons [git]
+
  buttons [x]
  led [git]
+
  led [x]
  
 
=== lcd7-01-00a3 ===
 
=== lcd7-01-00a3 ===
Line 98: Line 119:
  
 
= 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. For example, u-boot would load the pre-built 4dcape43t, instead of the default am335x-boneblack.dtb if it was passed:
 +
dtb=am335x-boneblack-4dcape-43t.dtb
 +
 +
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:
 
  make
 
  make
 +
 +
Install *.dtb:
 +
sudo make install

Revision as of 17:58, 18 September 2014

Capes

Latest 3.14 to support all:

sudo apt-get update
sudo apt-get install linux-image-3.14.19-ti-r23

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]

bb-view-43

dtb=<device>-bb-view-43.dtb
screen [x] (need to fix the red <-> blue)
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]

Chipsee bbb-exp-c

Make sure xorg is in 24 bit mode:

sudo sed -i -e 's:16:24:g' /etc/X11/xorg.conf
dtb=am335x-boneblack-bbb-exp-c.dtb
screen [x]
backlight (gpio) [x]
backlight (pwm) [ ]
touchscreen (capactive touch) [x] (the startup calibrator script doesn't always pick it up on startup)
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. For example, u-boot would load the pre-built 4dcape43t, instead of the default am335x-boneblack.dtb if it was passed:

dtb=am335x-boneblack-4dcape-43t.dtb

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