Dear Fabio Thank you very much for your directives and helps.
I applied the steps in WARP board readme file, for the command => ums 0 mmc 2 I received Unknown command 'ums' - try 'help' I compared with WARP7 defconfig and mx6sabresd_defconfig files added some definitions in WARP, but got error messages in make file. Therefore I would appreciate your helps/commends if you write me the definitions in config/defconfig files to enable u-boot to run this command? Best regads. -----Original Message----- From: Fabio Estevam [mailto:feste...@gmail.com] Sent: Wednesday, April 18, 2018 4:25 PM To: Mehmet Ali İPİN <mehmet.i...@pavotek.com.tr> Cc: u-boot@lists.denx.de; Kutsal ANIL <kutsal.a...@pavotek.com.tr> Subject: Re: [U-Boot] u-boot 2018 SPI SPL Hi Mehmet, On Wed, Apr 18, 2018 at 3:56 AM, Mehmet Ali İPİN <mehmet.i...@pavotek.com.tr> wrote: > Dear Fabio, > > I manually set spl_boot_list[] array with SPI, eMMCx, USB RAM etc. > For SPI NOR flash loader = spl_ll_find_loader(spl_boot_list[i]) > function (in spl.c) is returning a negative loader->boot_device number > -442503140 > > May be there is a definition in u-boot/SPL config files to make file > to generate SPI NOR flash boot code, instead of MMC, Which enable this SPL > function to return positive correct value for SPI NOR Flash? > > eMMC is working, but I did not put SPL and u-boot in eMMC; May be you > can give me a link explaining how to SPL+u-boot.img to eMMC flash commands. You can check board/warp7/README > I added puts() messages to trace the execution; > > These are the messages at terminal. > > > U-Boot SPL 2018.05-rc1 (Apr 17 2018 - 22:43:50 -0700) SPL set_bd() SPL > DRAM initialized SPL Malloc; gd flags board boot order spl boot list > spl_boot_list:8 > spl_boot_list:8 > Trying to boot from -442503140 You need to debug why you are getting this. Make sure your board is correctly configured to boot from SPI NOR via GPIO/fuses. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot