[beagleboard] Incorrect device overlay selected during boot

2016-06-30 Thread richatnstar via BeagleBoard
Hi,

My BBB stack has a 4.3" LCD cape -- powerup diagnostics (dmesg) indicated 
the cape was found OK & brightness worked Ok. I was unable to view 
(startup) text on the display. (Ver 4.4.1-bone11). After a few days of 
debug, I found that the MuxPins were not properly updated and were still 
accessing HDMI (not modified as expected). I added an 'echo' into /uEnv.txt 
& discovered that the 'overlay file' was not right - it was the default 
chosen at power-up.

/boot/uEnv.txt has the lines (amongst others)

 dtb=am335x-boneblack-overlay.dtb
 Disable: HDMI

/uEnv.txt was modified - *fdtfile* was replaced by *dtb*

#loadxfdt=load mmc 0:1 ${fdtaddr} /boot/dtbs/${uname_r}/${fdtfile}
loadxfdt=load mmc 0:1 ${fdtaddr} /boot/dtbs/${uname_r}/*${dtb}*

Possibly modifying fdtfile is the appropriate method -- Is there a better 
solution?

thx

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/0da49087-4271-4df2-81f4-e66b763c2ebf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Incorrect device overlay selected during boot

2016-06-30 Thread William Hermans
Yeah, you're modifying the wrong file.

debian@beaglebone:~/nfs$ cat /boot/uEnv.txt
#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0

uname_r=4.4.12-ti-r31
#uuid=
#dtb=

##BeagleBone Black/Green dtb's for v4.1.x (BeagleBone White just works..)



*##BeagleBone Black: HDMI (Audio/Video)
disabled:dtb=am335x-boneblack-emmc-overlay.dtb*
. . .

*dtb=am335x-boneblack-emmc-overlay.dtb *is the line you're after, and it
probably is proceeded by a pound( # ) symbol. So it's commented out. SImply
remove the # to uncomment, and then reboot the board.


On Mon, Jun 27, 2016 at 1:20 PM, richatnstar via BeagleBoard <
beagleboard@googlegroups.com> wrote:

> Hi,
>
> My BBB stack has a 4.3" LCD cape -- powerup diagnostics (dmesg) indicated
> the cape was found OK & brightness worked Ok. I was unable to view
> (startup) text on the display. (Ver 4.4.1-bone11). After a few days of
> debug, I found that the MuxPins were not properly updated and were still
> accessing HDMI (not modified as expected). I added an 'echo' into /uEnv.txt
> & discovered that the 'overlay file' was not right - it was the default
> chosen at power-up.
>
> /boot/uEnv.txt has the lines (amongst others)
>
>  dtb=am335x-boneblack-overlay.dtb
>  Disable: HDMI
>
> /uEnv.txt was modified - *fdtfile* was replaced by *dtb*
>
> #loadxfdt=load mmc 0:1 ${fdtaddr} /boot/dtbs/${uname_r}/${fdtfile}
> loadxfdt=load mmc 0:1 ${fdtaddr} /boot/dtbs/${uname_r}/*${dtb}*
>
> Possibly modifying fdtfile is the appropriate method -- Is there a better
> solution?
>
> thx
>
> --
> 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 beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/0da49087-4271-4df2-81f4-e66b763c2ebf%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CALHSORpXrYRpqWYD20U5SCGsp6MaA0ig2%2B-LQOAWDXmAwN9aEw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.