hi guys!!
So im porting JB4.3 to custom board with imx6 soc, I've flashed the images to SD card and trying to boot from there...however it doesn't output anything to the screen...
here is my printenv...
MX6 F+S U-Boot > printenv
bootdelay=3
baudrate=115200
netmask=255.0.0.0
loadaddr=0x10800000
rd_loadaddr=0x11000000
netdev=eth0
ethprime=FEC0
fastboot_dev=mmc2
bootcmd_android=booti mmc2
splashimage=0x30000000
splashpos=m,m
lvds_num=1
uboot=u-boot.bin
kernel=uImage
nfsroot=/nfsroot
mtdparts=mtdparts=gpmi-nand:512k(NBoot)ro,2m(UBoot)ro,256k(UBootEnv),256k(UserDef),6m(Kernel)ro,-(TargetFS)
bootargs_nfs=setenv bootargs ${bootargs} fec_mac=${ethaddr} root=/dev/nfs ip=${ipaddr} nfsroot=${serverip}:${nfsroot},v3,tcp
bootargs_nand=setenv bootargs ${bootargs} fec_mac=${ethaddr} ${mtdparts} gpmi_debug_init enable_wait_mode=off ubi.mtd=TargetFS root=ubi0:rootfs rootfstype=ubifs rootwait rw
bootargs_mmc=setenv bootargs ${bootargs} fec_mac=${ethaddr} root=/dev/mmcblk0p1 rootfstype=ext4 rootwait rw
bootcmd_net=run bootargs_nfs;tftpboot ${loadaddr} ${kernel}; bootm
bootcmd_net_mmc=run bootargs_mmc;tftpboot ${loadaddr} ${kernel}; bootm
bootcmd_mmc= for disk in 0 1 ; do mmc dev ${disk} ;for fs in fat ext2 ; do ${fs}load mmc ${disk}:1 ${loadaddr} /6q_bootscript && source ${loadaddr} ; done ; done
bootcmd_nand=run bootargs_nand;nand read ${loadaddr} Kernel 0x600000;bootm
loadcmd_nfs=nfs ${loadaddr} ${serverip}:/nfsroot/uImage
clearenv=sf probe 1 && sf erase 0xc0000 0x2000 && echo restored environment to factory default
upgradeu=for disk in 0 1 ; do mmc dev ${disk} ;for fs in fat ext2 ; do ${fs}load mmc ${disk}:1 ${loadaddr} /6q_upgrade && source ${loadaddr} ; done ; done
ethact=FEC0
serverip=10.0.0.92
ipaddr=10.0.0.251
ethaddr=00:05:00:08:ED:CO
mtdids=nand0=gpmi-nand
partition=nand0,0
mtddevnum=0
mtddevname=NBoot
bootcmd=run bootcmd_nand_mmc
bootcmd_nand_mmc=run bootargs_mmc;nand read ${loadaddr} Kernel 0x600000;booti $loadaddr
bootargs=console=ttymxc3,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=10M vmalloc=400M androidboot.console=ttymxc3 androidboot.hardware=freescale
stdin=serial
stdout=serial
stderr=serial
and when i boot this is the output message in file bootOutput
it just stops and the screen remains blank..
Any help would be greatly appreciated!! thanks!
Original Attachment has been moved to: bootOutput.txt.zip
Hi,
Which type of LCD display you are using ?:smileyinfo:
LVDS type or RGB type or HDMI ? please specify its details, resolution and etc...
And just try to change your boot argument(below)
bootargs=console=ttymxc3,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=10M vmalloc=400M
to
bootargs=console=ttymxc3,115200 init=/init video=mxcfb0:dev=ldb,LDB-WVGA,if=RGB666 video=mxcfb1:off video=mxcfb2:off fbmem=28M vmalloc=400M androidboot.console=ttymxc1 androidboot.hardware=freescale mem=1024M
(assume that you are using LVDS type 7 inch display) :smileyinfo:
Just try it out, may it will help you.
Regards
Jaymin Dabhi
hi Jaymin,
so i changed thet booatargs...like so:
Environment size: 1966/131068 bytes
MX6 F+S U-Boot > setenv bootargs console=ttymxc3,115200 init=/init video=mxcfb0:dev=ldb,LDB-WVGA,if=RGB666 video=mxcfb1:off video=mxcfb2:off fbmem=28M vmalloc=400M androidboot.console=ttymxc1 androidboot.hardware=freescale mem=1024M
MX6 F+S U-Boot > saveenv
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x280000 -- 100% complete.
Writing to Nand... done
MX6 F+S U-Boot > boot
setenv - set environment variables
Usage:
setenv name value ...
- set environment variable 'name' to 'value ...'
setenv name
- delete environment variable 'name'
NAND read: device 0 offset 0x300000, size 0x600000
6291456 bytes read: OK
kernel @ 10008000 (4435508)
ramdisk @ 11000000 (233989)
kernel cmdline:
use uboot command line:
console=ttymxc3,115200 init=/init video=mxcfb0:dev=ldb,LDB-WVGA,if=RGB666 video=mxcfb1:off video=mxcfb2:off fbmem=28M vmalloc=400M androidboot.console=ttymxc1 androidboot.hardware=freescale mem=1024M
Starting kernel ...
but now its frozen onto the Starting kernel bit and wont go anyfurther....
also the specs for the monitor are correct lvds type 7 !
Thanks for your help, but any other suggestions to this? i am completely stuck!!
Thanks Jonny
Hello,
Try to change it as below,
setenv bootargs console=ttymxc3,115200 init=/init video=mxcfb0:dev=ldb,LDB-WVGA,if=RGB666 video=mxcfb1:off video=mxcfb2:off fbmem=28M vmalloc=400M
Regards
Jaymin Dabhi
hi Jaymin,
so that setenv has allowed the kernel to go back to running...
but then:
DVFS driver module loaded
regulator_init_complete: VDDD: incomplete constraints, leaving on
rtc-pcf8563 0-0051: low voltage detected, date/time is not reliable.
rtc-pcf8563 0-0051: retrieved date/time is not valid.
rtc-pcf8563 0-0051: hctosys: invalid date/time
Freeing init memory: 216K
android_work: sent uevent USB_STATE=CONNECTED
it stops after here and i have no output to the screen just blank white...I am building for imx6DL i should have said to the video=mxcfb2:off is not needed, but i have removed it!
Sorry to be a hassle,
Thanks Jonny
Please use "echo 0 > /sys/class/graphics/fb0/blank" in order to unblank the fb0.
Thanks
Saurabh
just type that into my terminal at which the board is connected?
or where change the bootargs?
Hi
Run on terminal.
hi,
Yes i have ran this on the terminal and rebooted...however still just a blankwhite screen?
thanks Jonny