debian testing: 2017-01-03 (U-Boot Cape Manager edition)

Howdy!

So here we go, an Image with U-Boot Cape Manager installed.

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#2017-01-03

U-Boot version:

U-Boot SPL 2017.01-rc3-00003-gd2796a1cca (Jan 03 2017 - 12:44:32)
Trying to boot from MMC1

U-Boot 2017.01-rc3-00003-gd2796a1cca (Jan 03 2017 - 12:44:32 -0600),
Build: jenkins-github_Bootloader-Builder-498

U-Boot will read the i2c eeprom on each of the 4 possible capes:

BeagleBone: cape eeprom: i2c_probe: 0x54:
BeagleBone: cape eeprom: i2c_probe: 0x55:
/lib/firmware/BB-CAPE-DISP-CT4-00A0.dtbo
BeagleBone: cape eeprom: i2c_probe: 0x56:
BeagleBone: cape eeprom: i2c_probe: 0x57:

It's of course disabled by default, to enable it open /boot/uEnv.txt

###EXPERIMENTAL###
#enable_uboot_overlays=1
#dtb_overlay=/lib/firmware/BB-UART2-00A0.dtbo
###EXPERIMENTAL###

and un-comment enable_uboot_overlays=1

###EXPERIMENTAL###
enable_uboot_overlays=1
#dtb_overlay=/lib/firmware/BB-UART2-00A0.dtbo
###EXPERIMENTAL###

loading /boot/dtbs/4.4.39-ti-r79/am335x-boneblack-emmc-overlay.dtb ...
53192 bytes read in 110 ms (471.7 KiB/s)
debug: [uboot_overlay_addr1=/lib/firmware/BB-CAPE-DISP-CT4-00A0.dtbo] ...
loading /lib/firmware/BB-CAPE-DISP-CT4-00A0.dtbo ...
4518 bytes read in 265 ms (16.6 KiB/s)
loading /boot/initrd.img-4.4.39-ti-r79 ...
5163687 bytes read in 374 ms (13.2 MiB/s)
debug: [console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1
root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M
net.ifnames=0 quiet cape_universal=enable] ...
debug: [bootz 0x82000000 0x88080000:4ecaa7 88000000] ...
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   reserving fdt memory region: addr=88000000 size=e000
   Loading Ramdisk to 8fb13000, end 8ffffaa7 ... OK
   Loading Device Tree to 8fb02000, end 8fb12fff ... OK

Starting kernel ...

If you'd like to enable a 5th cape, or one without an i2c eeprom, use
the dtb_overlay variable, for example to load BB-UART2-00A0.dtb

dtb_overlay=/lib/firmware/BB-UART2-00A0.dtbo

ToDo:

Split out eMMC, hdmi-video, hdmi-audio, ethernet, wl18xx, add a pin
manager so we know what to load..

Fix the /uEnv.txt to have backwards compatbilty... (for right now, you
have to [sudo rm /uEnv.txt])

Regards,

We should be able to now, it'll need a v4.4.x-ti or v4.9.x+ kernel, see:

BB-HDMI-TDA998x-00A0.dts

https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-HDMI-TDA998x-00A0.dts

When loaded via u-boot, video came up at work. (no hdmi-audio devices at work)

You must be working on the it66121 cape?

Please create two overlays..

BB-HDMI-IT66121-00A0.dts (video & audio)
BB-NHDMI-IT66121-00A0.dts (no audio)

that board had an eeprom on it right? (i have one at my desk at work)..

Regards,

Yay!!! that original it66121 driver we had for 3.8.x just looked way
to yucky... I'm glad you got it working on later kernel's!

Regards,

can we put clk_mcasp0 to cape dts now ?
https://github.com/RobertCNelson/dtb-rebuilder/blob/4.1-ti/src/arm/am335x-boneblack-audio.dts#L17-L28

在 2017年1月5日星期四 UTC+8上午12:55:29,robert nelson写道:

Yes, you can see

root@beaglebone:/sys# cat ./devices/platform/bone_capemgr/slots
0: P—L- 0 Beaglebone green hdmi cape,00A0,Seeed,BB-GREEN-HDMI
1: PF---- -1
2: PF---- -1
3: PF---- -1

This dirver will be pull soon. display is fine. auido has a bit noise.

在 2017年1月5日星期四 UTC+8上午9:44:29,robert nelson写道: