Re: MX6sabresd broken since v2019.04

2021-02-02 Thread Heiko Schocher
Hello Fabio, Am 02.02.21 um 15:12 schrieb Fabio Estevam: > Hi Heiko, > > On Tue, Feb 2, 2021 at 11:08 AM Heiko Schocher wrote: > >> I use currently SPL and u-boot.img ... seems I have to switch >> to above image ... currently I have a lot of load on my desk, >> so may this takes some time ... s

Re: MX6sabresd broken since v2019.04

2021-02-02 Thread Fabio Estevam
Hi Heiko, On Tue, Feb 2, 2021 at 11:08 AM Heiko Schocher wrote: > I use currently SPL and u-boot.img ... seems I have to switch > to above image ... currently I have a lot of load on my desk, > so may this takes some time ... sorry Sure, no problem. The idea is to keep testing SPL and u-boot.i

Re: MX6sabresd broken since v2019.04

2021-02-02 Thread Heiko Schocher
Hello Fabio, Am 01.02.21 um 18:40 schrieb Fabio Estevam: > On Mon, Feb 1, 2021 at 1:36 PM Marek Vasut wrote: > >> I don't think WB uses OF_SEPARATE with fitImages, so maybe there its not >> applicable at all ? > > Wandboard does use OF_SEPARATE and FIT. > > I have just tested flashing u-boot-w

Re: MX6sabresd broken since v2019.04

2021-02-01 Thread Fabio Estevam
On Mon, Feb 1, 2021 at 1:36 PM Marek Vasut wrote: > I don't think WB uses OF_SEPARATE with fitImages, so maybe there its not > applicable at all ? Wandboard does use OF_SEPARATE and FIT. I have just tested flashing u-boot-with-spl.imx into a SD card and booting a wandboard. It does behave the

Re: MX6sabresd broken since v2019.04

2021-02-01 Thread Marek Vasut
On 2/1/21 5:29 PM, Fabio Estevam wrote: Hi Marek, On Mon, Feb 1, 2021 at 12:01 PM Marek Vasut wrote: I posted a patch, you are on CC, thanks. Can you please add this u-boot-with-spl.imx into the NXP test matrix ? I am not aware of any NXP boot farm tests being done in U-Boot. Maybe Peng ca

Re: MX6sabresd broken since v2019.04

2021-02-01 Thread Fabio Estevam
Hi Marek, On Mon, Feb 1, 2021 at 12:01 PM Marek Vasut wrote: > I posted a patch, you are on CC, thanks. > > Can you please add this u-boot-with-spl.imx into the NXP test matrix ? I am not aware of any NXP boot farm tests being done in U-Boot. Maybe Peng can comment. I know Heiko tests wandboar

Re: MX6sabresd broken since v2019.04

2021-02-01 Thread Marek Vasut
On 2/1/21 2:30 PM, Fabio Estevam wrote: On Mon, Feb 1, 2021 at 10:20 AM Marek Vasut wrote: But, it also likely breaks other boards, which still use plain uImage instead of fitImage. So there needs to be some conditional in the Makefile. Something like this maybe ? It makes mx6sabresd to boo

Re: MX6sabresd broken since v2019.04

2021-02-01 Thread Fabio Estevam
On Mon, Feb 1, 2021 at 10:20 AM Marek Vasut wrote: > But, it also likely breaks other boards, which still use plain uImage > instead of fitImage. So there needs to be some conditional in the Makefile. > > Something like this maybe ? It makes mx6sabresd to boot: Tested-by: Fabio Estevam

Re: MX6sabresd broken since v2019.04

2021-02-01 Thread Marek Vasut
On 2/1/21 2:09 PM, Fabio Estevam wrote: On Mon, Feb 1, 2021 at 10:01 AM Marek Vasut wrote: I think u-boot-with-spl.imx: SPL u-boot.uim FORCE should really be u-boot-with-spl.imx: SPL u-boot.img FORCE under certain (which ?) conditions. Can you take a look into that ? I tried your suggestion

Re: MX6sabresd broken since v2019.04

2021-02-01 Thread Fabio Estevam
On Mon, Feb 1, 2021 at 10:01 AM Marek Vasut wrote: > I think > u-boot-with-spl.imx: SPL u-boot.uim FORCE > should really be > u-boot-with-spl.imx: SPL u-boot.img FORCE > under certain (which ?) conditions. > > Can you take a look into that ? I tried your suggestion and it boots now: U-Boot SPL

Re: MX6sabresd broken since v2019.04

2021-02-01 Thread Marek Vasut
On 2/1/21 1:22 PM, Fabio Estevam wrote: On Mon, Feb 1, 2021 at 9:17 AM Marek Vasut wrote: All right, now we are aligned, good. But that ^ should work, right? Yes, good that we narrowed it down to the u-boot-with-spl.imx format. Personally, I haven't used the u-boot-with-spl.imx format befor

Re: MX6sabresd broken since v2019.04

2021-02-01 Thread Fabio Estevam
On Mon, Feb 1, 2021 at 9:17 AM Marek Vasut wrote: > All right, now we are aligned, good. But that ^ should work, right? Yes, good that we narrowed it down to the u-boot-with-spl.imx format. Personally, I haven't used the u-boot-with-spl.imx format before, so I didn't notice it is broken (at lea

Re: MX6sabresd broken since v2019.04

2021-02-01 Thread Marek Vasut
On 2/1/21 1:13 PM, Fabio Estevam wrote: On Mon, Feb 1, 2021 at 8:58 AM Marek Vasut wrote: Then I have to wonder, does it also work if you write u-boot-with-spl.imx to the SD card ? If not, then that might be the problem . Yes, this is the problem. When flashing u-boot-with-spl.imx: U-Boot S

Re: MX6sabresd broken since v2019.04

2021-02-01 Thread Fabio Estevam
On Mon, Feb 1, 2021 at 8:58 AM Marek Vasut wrote: > Then I have to wonder, does it also work if you write > u-boot-with-spl.imx to the SD card ? If not, then that might be the > problem . Yes, this is the problem. When flashing u-boot-with-spl.imx: U-Boot SPL 2021.01 (Feb 01 2021 - 09:10:08 -03

Re: MX6sabresd broken since v2019.04

2021-02-01 Thread Marek Vasut
On 2/1/21 12:37 PM, Fabio Estevam wrote: Hi Marek, Hello Fabio, On Mon, Feb 1, 2021 at 8:28 AM Marek Vasut wrote: Did you test that yourself? I am CCing Christoph, as I don't have the Yes, I tested it myself: U-Boot SPL 2021.01 (Jan 23 2021 - 14:34:35 -0300) Trying to boot from MMC1 U

Re: MX6sabresd broken since v2019.04

2021-02-01 Thread Fabio Estevam
Hi Marek, On Mon, Feb 1, 2021 at 8:28 AM Marek Vasut wrote: > Did you test that yourself? I am CCing Christoph, as I don't have the Yes, I tested it myself: U-Boot SPL 2021.01 (Jan 23 2021 - 14:34:35 -0300) Trying to boot from MMC1 U-Boot 2021.01 (Jan 23 2021 - 14:34:35 -0300) CPU: Freesc

Re: MX6sabresd broken since v2019.04

2021-02-01 Thread Marek Vasut
On 2/1/21 12:07 PM, Fabio Estevam wrote: Hi Marek, Hi, On Mon, Feb 1, 2021 at 7:59 AM Marek Vasut wrote: Hello everyone, the mx6sabresd is broken since 1ca12f034e ("configs: mx6sabresd: Add SPL FIT and DM support"), it hangs in SPL when booting from SD card, can you please take a look and

Re: MX6sabresd broken since v2019.04

2021-02-01 Thread Fabio Estevam
Hi Marek, On Mon, Feb 1, 2021 at 7:59 AM Marek Vasut wrote: > > Hello everyone, > > the mx6sabresd is broken since 1ca12f034e ("configs: mx6sabresd: Add SPL > FIT and DM support"), it hangs in SPL when booting from SD card, can you > please take a look and fix it? I don't have the board myself, I

MX6sabresd broken since v2019.04

2021-02-01 Thread Marek Vasut
Hello everyone, the mx6sabresd is broken since 1ca12f034e ("configs: mx6sabresd: Add SPL FIT and DM support"), it hangs in SPL when booting from SD card, can you please take a look and fix it? I don't have the board myself, I just helped bisect it remotely just now. Thanks -- Best regards,