On Wed, Apr 26, 2017 at 10:03 PM, William Hermans <[email protected]> wrote:
> Ok so uboot overlay loading works on UART1:
>
> root@wgd:~# ls /dev |grep ttyO[0-4]
> ttyO0
> ttyO1
>
> So apparently the part of capemgr that works from the command line seems to
> be broken. This board I'm testing is an Alpha prototype whcih needs serial
> debug brought out over to the top of the cape, so I can not unfortunately
> give serial debug output. uEnv.txt line on a working uboot overlay load:
>
> ###Additional custom capes
> uboot_overlay_addr4=/lib/firmware/wph-i2c-00A0.dtbo
> uboot_overlay_addr5=/lib/firmware/BB-ADC-00A0.dtbo
> uboot_overlay_addr6=/lib/firmware/BB-W1-P8.26-00A0.dtbo
> uboot_overlay_addr7=/lib/firmware/BB-UART1-00A0.dtbo
>
> The first cape is nothing special that could possibly interfere with
> capemgr. It just enables I2C-1 bus, and loads the ds3232 RTC driver, for a
> ds3232 on I2C-2 bus.

Yeah, i don't want to go down that road.. to have u-boot's
cape-manager tell the kernel's cape-manager what pin's are available.
It would be a great GSOC project ;)

So what's i'm doing:

if u-boot overlays loads something that's just a normal *.dtb you can
use the kernel's cape-manager.  But if it loads anything custom..  i
disable the kernel's cape-manager..

So any of these combinations:

enable_uboot_overlays=1
#disable_uboot_overlay_emmc=1
#disable_uboot_overlay_video=1
#disable_uboot_overlay_audio=1
#disable_uboot_overlay_wireless=1

kernel cape-manager is enabled..

With any of these combinations:

#disable_uboot_overlay_adc=1
uboot_overlay_addr0=/lib/firmware/<file0>.dtbo
uboot_overlay_addr1=/lib/firmware/<file1>.dtbo
uboot_overlay_addr2=/lib/firmware/<file2>.dtbo
uboot_overlay_addr3=/lib/firmware/<file3>.dtbo
uboot_overlay_addr4=/lib/firmware/<file4>.dtbo
uboot_overlay_addr5=/lib/firmware/<file5>.dtbo
uboot_overlay_addr6=/lib/firmware/<file6>.dtbo
uboot_overlay_addr7=/lib/firmware/<file7>.dtbo
dtb_overlay=/lib/firmware/<file8>.dtbo
#enable_uboot_cape_universal=1

kernel cape-manager get's disabled..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYh93Nu0mY0muSdyYq%3Dr7DZ4SSYofXpAJU37Z0%3DcwxWjGQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to