Re: imx8mp: Flashing U-Boot into eMMC hardware partition via UUU

2024-05-10 Thread Michael Nazzareno Trimarchi
Hi Fabio On Fri, May 10, 2024 at 5:10 PM Fabio Estevam wrote: > > Hi Michael, > > On Fri, May 10, 2024 at 11:28 AM Michael Nazzareno Trimarchi > wrote: > > > You can just change as you want. We have this file in buildroot, uuu > > can run command on the device > > using FB command. Example how c

Re: imx8mp: Flashing U-Boot into eMMC hardware partition via UUU

2024-05-10 Thread Fabio Estevam
Hi Michael, On Fri, May 10, 2024 at 11:28 AM Michael Nazzareno Trimarchi wrote: > You can just change as you want. We have this file in buildroot, uuu > can run command on the device > using FB command. Example how call it Thanks for sharing the example. I adapted the UUU script like this: SD

Re: imx8mp: Flashing U-Boot into eMMC hardware partition via UUU

2024-05-10 Thread Michael Nazzareno Trimarchi
On Fri, May 10, 2024 at 4:19 PM Fabio Estevam wrote: > > Hi, > > I am using an imx8mp-evk board and I can flash the U-Boot into the > eMMC hardware partition 0 by running: > >=> tftpboot $loadaddr flash.bin >=> setexpr blkcnt $filesize + 0x1ff && setexpr blkcnt $blkcnt / 0x200 >=> mmc

imx8mp: Flashing U-Boot into eMMC hardware partition via UUU

2024-05-10 Thread Fabio Estevam
Hi, I am using an imx8mp-evk board and I can flash the U-Boot into the eMMC hardware partition 0 by running: => tftpboot $loadaddr flash.bin => setexpr blkcnt $filesize + 0x1ff && setexpr blkcnt $blkcnt / 0x200 => mmc dev 2 1 => mmc write $loadaddr 0 $blkcnt Now I want to do the same