Difference between revisions of "Beagleboard:Capes 3.8 to 3.14"
m (→lcd3-01-00a1) |
m (→Capes: lcd's work again with linux-image-3.14.26-ti-r41) |
||
(36 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: | ||
+ | sudo apt-get update | ||
+ | sudo apt-get install linux-image-3.14.26-ti-r41 | ||
+ | |||
+ | == 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 == | ||
− | |||
− | |||
− | |||
=== lcd3-01-00a2 === | === lcd3-01-00a2 === | ||
− | + | dtb=<device>-lcd4-01-00a2.dtb | |
+ | screen [x] | ||
+ | backlight (gpio) [x] | ||
+ | backlight (pwm) [ ] | ||
+ | touchscreen (4wire) [x] | ||
+ | buttons [X] | ||
+ | led [X] | ||
== lcd4 == | == lcd4 == | ||
− | + | ||
− | === | + | === 4dcape-43 === |
− | + | dtb=<device>-4dcape-43.dtb | |
− | 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 === | === lcd4-01-00a1 === | ||
− | |||
dtb=<device>-lcd4-01-00a1.dtb | dtb=<device>-lcd4-01-00a1.dtb | ||
screen [x] | screen [x] | ||
Line 22: | Line 61: | ||
backlight (pwm) [ ] | backlight (pwm) [ ] | ||
touchscreen (4wire) [x] | touchscreen (4wire) [x] | ||
− | buttons [ ] | + | buttons [X] |
− | led [ ] | + | led [X] |
== lcd7 == | == 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 === | === lcd7-01-00a2 === | ||
− | untested: | + | untested: (no hardware) |
dtb=<device>-lcd7-01-00a2.dtb | dtb=<device>-lcd7-01-00a2.dtb | ||
+ | screen [x] | ||
+ | backlight (gpio) [x] | ||
+ | backlight (pwm) [ ] | ||
+ | touchscreen (4wire) [x] | ||
+ | buttons [x] | ||
+ | led [x] | ||
=== lcd7-01-00a3 === | === lcd7-01-00a3 === | ||
Line 37: | Line 111: | ||
backlight (pwm) [ ] | backlight (pwm) [ ] | ||
touchscreen (4wire) [x] | touchscreen (4wire) [x] | ||
− | buttons [ ] | + | buttons [x] |
− | led [ ] | + | 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` |
Revision as of 16:01, 15 December 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.26-ti-r41
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`