On Tue, Mar 19, 2013 at 5:05 AM, Leo738 <
oo.h...@gmail.com> wrote:
> Hello All,
>
> I've got a XM board, rev B, running ubuntu 12.04.
>
> I've been trying to upgrade to the kernel to 3.7 but ran into display
> problems with the HDMI.
>
> My uEnv.txt is a bit of a mess for some reason, here it is:
>
> vram=12MB
> defaultdisplay=dvi
> dvimode=1280x1024MR-16@60
> kernel_file=zImage
> initrd_file=initrd.img
> boot=bootz
> dtb_file=
>
> console=ttyO2,115200n8
>
> mmcroot=/dev/mmcblk0p2 ro
> mmcrootfstype=ext4 rootwait fixrtc
>
> // Is this a comment?
> # or is this a comment?
>
> xyz_load_image=fatload mmc 0:1 0x80300000 ${kernel_file}
> xyz_load_initrd=fatload mmc 0:1 0x81600000 ${initrd_file}; setenv
> initrd_size ${filesize}
> xyz_load_dtb=fatload mmc 0:1 0x815f0000 ${dtb_file}
>
> mmcargs=setenv bootargs console=${console} ${optargs} vram=${vram}
> omapfb.mode=${defaultdisplay}:${dvimode} omapdss.def_disp=${defaultdisplay}
> root=${mmcroot} rootfstype=${mmcrootfstype} ${device_args}
> xyz_mmcboot=run xyz_load_image; run xyz_load_initrd; echo Booting from mmc
> ...
>
> optargs=console=tty0
> deviceargs=setenv device_args buddy=${buddy} buddy2=${buddy2}
> loaduimage=run xyz_mmcboot; run deviceargs; run mmcargs; ${boot} 0x80300000
> 0x81600000:${initrd_size}
> .
>
> I've tried to search for a guide on this type of file & the various meaning
> but no success. So my questions:
>
> How do you add a comment to this type of file?
"#"
> Any guide to this file or the arguments?
It's just a variable list.. the ONLY variable that really matters is:
"loaduimage"
http://git.denx.de/?p=u-boot.git;a=blob;f=include/configs/omap3_beagle.h;hb=HEAD#l296
as "if run loadbootenv; then "
loads the environment from uEnv.txt..
and "if run loaduimage; then "
Then our variables in uEnv.txt take over..
> Was there significant changes to the HDMI from kernel 3.3 to 3.7 that might
> effect the display?
Yeap, the optional "use high-speed pll" was ripped out of omapdss (no
one was using it in mainline, we never pushed our patch that used
it)... So displays that need the exact frequency (and can't work with
"close" values) now no longer work..
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/video/omap2?id=b6e695abe710ee1ae248463d325169efac487e17
Regards,
--
Robert Nelson
http://www.rcn-ee.com/