04-23-2016, 06:24 AM
(04-22-2016, 09:17 PM)patrickhwood Wrote:(04-22-2016, 04:40 PM)Pirin Wrote:(04-05-2016, 11:07 AM)ak_hepcat Wrote: just booted my p64 with the 'disp.screen0_output_mode=EDID' cmd line/
on my DELL U2410, i get no video by default. by using that cmdline flag, i get working video. :-)
(this doesn't help my little 7" screen, though - it's not supporting the resolution, i'm sure)
Pardon my linux ignorance, but would you mind sharing how you added this flag? I tried to modify the /proc/cmdline file, but I cannot. I then created a /root/cmdline file with the appropriate content, and tried to use a bind mount, but that change didn't persist after a reboot.
Thanks
The contents of /proc/cmdline are read-only and come from the actual arguments passed to the kernel by the boot loader. To change the kernel arguments, you have to change a file that's read by uboot off of the first partition on the SD card. It should be in /boot/uEnv.txt; if /dev/mmcblk0p1 isn't mounted on /boot, you'll have to mount it first to get at uEnv.txt.
Awesome! Thank you for the pointer. I modified uEnv.txt to append 'disp.screen0_output_mode=EDID' to the end of the first line. After rebooting, 'cat /proc/cmdline' showed that the disp parameter was indeed loaded. Unfortunately, I still get no signal output to my monitor via the DVI cable Oh well. At least I know how to add kernel parameters. Thanks again.