Dear all,
We have followed the example described Custom Boot panel on TEZI dedicated web page but boot.scr file doen not seem to work. Our goal is to enabled touchscreen using LVDS channel and USB TS (through USB OTG port). The script is placed on root of sdCard and this is its content :
# Set timings for 10" multitouch
setenv bootargs console=ttymxc0,115200 quiet video=mxcfb0:dev=ldb,if=LVDS888 rootfstype=squashfs root=/dev/ram autoinstall fullscreen ${teziargs}
# Reenable fdt relocation since in place fdt edits corrupt the ramdisk
# in a FIT image...
setenv fdt_high
# Load FIT image from location as detected by distroboot
load ${devtype} ${devnum}:${distro_bootpart} ${ramdisk_addr_r} ${prefix}tezi.itb
bootm start ${ramdisk_addr_r} && bootm loados && bootm ramdisk && bootm fdt
# Enable and set touchscreen parameter
#backlight
fdt set /backlight default-brightness-level 7
fdt set /backlight enable-gpios &gpio3 13 GPIO_ACTIVE_HIGH
#fb@0
fdt set /fb@0 interface_pix_fmt RGB24
fdt set /fb@0 mode_str LDB-WXGA
fdt set /fb@0 default_bpp 32
bootm prep && bootm go
When I use cat command on interface_pix_fmt parameter for examle it returns RGB666 (default value).
What could be wrong ?
Is there a way to put the boot.scr script on USB stick instead of SDcard ?
Thanks for your advice,
BR
↧