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

From eLinux.org
Jump to: navigation, search
m (Capes)
m
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
= Kernel =
 +
https://github.com/beagleboard/linux
 +
 
= Capes =
 
= Capes =
 
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-r16
+
  sudo apt-get install linux-image-3.14.19-ti-r30
  
 
== crypto ==
 
== crypto ==
Line 27: Line 30:
  
 
=== 4dcape-43 ===
 
=== 4dcape-43 ===
  dtb=am335x-boneblack-4dcape-43.dtb
+
  dtb=<device>-4dcape-43.dtb
 
  screen [x]
 
  screen [x]
 
  backlight (gpio) [x]
 
  backlight (gpio) [x]
Line 35: Line 38:
  
 
=== 4dcape-43t ===
 
=== 4dcape-43t ===
  dtb=am335x-boneblack-4dcape-43t.dtb
+
  dtb=<device>-4dcape-43t.dtb
 
  screen [x]
 
  screen [x]
 
  backlight (gpio) [x]
 
  backlight (gpio) [x]
Line 42: Line 45:
 
  buttons [x]
 
  buttons [x]
 
  led [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 ===
 
=== lcd4-01-00a1 ===
Line 55: Line 67:
  
 
=== 4dcape-70 ===
 
=== 4dcape-70 ===
  dtb=am335x-boneblack-4dcape-70.dtb
+
  dtb=<device>-4dcape-70.dtb
 
  screen [x]
 
  screen [x]
 
  backlight (gpio) [x]
 
  backlight (gpio) [x]
Line 63: Line 75:
  
 
=== 4dcape-70t ===
 
=== 4dcape-70t ===
  dtb=am335x-boneblack-4dcape-70t.dtb
+
  dtb=<device>-4dcape-70t.dtb
 
  screen [x]
 
  screen [x]
 
  backlight (gpio) [x]
 
  backlight (gpio) [x]
 
  backlight (pwm) [ ]
 
  backlight (pwm) [ ]
 
  touchscreen (4wire) [x]
 
  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=<device>-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]
 
  buttons [x]
 
  led [x]
 
  led [x]
Line 118: Line 142:
 
  make
 
  make
  
Install *.dtb:
+
Install *.dtb to: /boot/dtbs/`uname -r`/*.dtb
 
  sudo make install
 
  sudo make install
 +
 +
= External Kernel Modules =
 +
 +
== mt7601u ==
 +
First: 3.14.19-ti-r25
 +
sudo apt-get install mt7601u-modules-`uname -r`
 +
sudo depmod -a `uname -r`
 +
sudo update-initramfs -uk `uname -r`
 +
 +
== sgx ==
 +
First: 3.14.19-ti-r26
 +
sudo apt-get install ti-sgx-es8-modules-`uname -r`
 +
sudo depmod -a `uname -r`
 +
sudo update-initramfs -uk `uname -r`

Revision as of 17:18, 14 October 2014

Kernel

https://github.com/beagleboard/linux

Capes

Latest 3.14 to support all:

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

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=<device>-4dcape-43.dtb
screen [x]
backlight (gpio) [x]
backlight (pwm) [ ]
buttons [x]
led [x]

4dcape-43t

dtb=<device>-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=<device>-4dcape-70.dtb
screen [x]
backlight (gpio) [x]
backlight (pwm) [ ]
buttons [x]
led [x]

4dcape-70t

dtb=<device>-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=<device>-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 to: /boot/dtbs/`uname -r`/*.dtb

sudo make install

External Kernel Modules

mt7601u

First: 3.14.19-ti-r25

sudo apt-get install mt7601u-modules-`uname -r`
sudo depmod -a `uname -r`
sudo update-initramfs -uk `uname -r`

sgx

First: 3.14.19-ti-r26

sudo apt-get install ti-sgx-es8-modules-`uname -r`
sudo depmod -a `uname -r`
sudo update-initramfs -uk `uname -r`