Hi, here you are my configuration:
#define CONFIG_EXTRA_ENV_SETTINGS \ "image=zImage\0" \ "console=" CONFIG_CONSOLE_DEV "\0" \ "fdt_file=imx6q-tibidabo.dtb\0" \ "fdt_addr=0x14000000\0" \ "mmcdev="__stringify(CONFIG_SYS_MMC_ENV_DEV)"\0" \ "mmcpart=" __stringify(CONFIG_SYS_MMC_IMG_LOAD_PART) "\0" \ "mmcroot=" CONFIG_MMCROOT " rootwait rw\0" \ "mmcautodetect=yes\0" \ "mmcargs=setenv bootargs console=${console},${baudrate} earlyprintk " \ "root=${mmcroot}\0" \ "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \ "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \ #define CONFIG_BOOTCOMMAND \ "run mmcargs; " \ "run loadfdt; " \ "run loadimage; " \ "bootz ${loadaddr} - ${fdt_addr}; "\ it is easy. I tried to put earlyprintk but i didn't see any output. ------------------------------ *Ing. Fausto Sessego* *R&D Hardware & Software Engineer* info mob > *Tecnologie Wireless per la logistica e la sicurezza* *address:* Parco scientifico e tecnologico della Sardegna, Edificio 1 Loc. Piscinamanna - 09010 Pula (CA) <https://www.google.it/maps/place/Sardegna+Ricerche/@38.9899811,8.9280376,17z/data=!3m1!4b1!4m2!3m1!1s0x12e7274e0b4c4191:0x1a9e7f06456bbd3> *phone:* +39 070 92432952 *email:* fausto.sess...@infomob.it *skype:* fausto.sessego.infomob *web:* www.infomob.it 2017-05-25 10:57 GMT+02:00 Anatolij Gustschin <ag...@denx.de>: > On Wed, 24 May 2017 18:29:50 +0200 > Fausto Sessego fausto.sess...@infomob.it wrote: > ... > > The Kernel doesn't start. > > > > U-Boot 2016.07 (May 24 2017 - 17:11:18 +0200) > > > > CPU: Freescale i.MX6Q rev1.2 at 792MHz > > CPU: Industrial temperature grade (-40C to 105C) at 20C > > Reset cause: POR > > Board: i.MX6Q TIBIDABO > > Support: http://www.infomob.it/ > > I2C: ready > > DRAM: gd->ram_size: 2147483648 > > DRAM test not implemented! > > 2 GiB > > MMC: FSL_SDHC: 0, FSL_SDHC: 1 > > *** Warning - bad CRC, using default environment > > you didn't save the environment, so the default environment is > used. > > > In: serial > > Out: serial > > Err: serial > > Net: FEC [PRIME] > > Error: FEC address not set. > > > > Hit any key to stop autoboot: 0 > > reading imx6q-tibidabo.dtb > > 29640 bytes read in 22 ms (1.3 MiB/s) > > reading uImage > > 6621928 bytes read in 324 ms (19.5 MiB/s) > > ## Booting kernel from Legacy Image at 12000000 ... > > Image Name: Linux-4.1.38 > > Image Type: ARM Linux Kernel Image (uncompressed) > > Data Size: 6621864 Bytes = 6.3 MiB > > Load Address: 10008000 > > Entry Point: 10008000 > > Verifying Checksum ... OK > > Loading Kernel Image ... OK > > > > Starting kernel ... > > Please check 'bootargs' environment variable (print bootargs). > It should contain "console=ttymxc0,115200" among other values. > Probably this is not set in the default environment and is missing. > Ensure that you are passing the correct console string for your > board in bootargs. I'm not sure if ttymxc0 is correct, please > test it first. > > -- > Anatolij > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot