diff mbox series

[1/5] wandboard: Fix detection for mx6q/mx6dl revD1 revariants

Message ID CAOMZO5AMrpTzN4KiDqh6XfjjfZ-U-tCB3DFB1GiOFyvktm=LTQ@mail.gmail.com
State New
Headers show
Series [1/5] wandboard: Fix detection for mx6q/mx6dl revD1 revariants | expand

Commit Message

Fabio Estevam April 17, 2020, 11:15 a.m. UTC
Hi Heiko,

On Fri, Apr 17, 2020 at 4:56 AM Heiko Schocher <hs at denx.de> wrote:

> So it seems, output on console gets somehow lost, but bootcount counts down
> and loads linux ... may I missed something?

Thanks for testing.

On my console, I get the full output on a i.MX6Q revB1:
http://code.bulix.org/buuwfu-1287884

And also on a i.MX6QP revD1:
http://code.bulix.org/0dx8tz-1287899

Could it be due to patch 4/5, that does:

 CONFIG_SPL_SEPARATE_BSS=y

but I thought this would impact only the LCD output, not the real console.

If you have a chance, could you please try again with only the first
patch of the series (1/5)?

Thanks

> --
> DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de

Comments

Fabio Estevam April 17, 2020, 11:33 a.m. UTC | #1
Hi Heiko,

On Fri, Apr 17, 2020 at 8:15 AM Fabio Estevam <festevam at gmail.com> wrote:
>
> Hi Heiko,
>
> On Fri, Apr 17, 2020 at 4:56 AM Heiko Schocher <hs at denx.de> wrote:
>
> > So it seems, output on console gets somehow lost, but bootcount counts down
> > and loads linux ... may I missed something?
>
> Thanks for testing.
>
> On my console, I get the full output on a i.MX6Q revB1:
> http://code.bulix.org/buuwfu-1287884
>
> And also on a i.MX6QP revD1:
> http://code.bulix.org/0dx8tz-1287899

Ok, I have a mx6dl wandboad here and I managed to reproduce the issue
you reported.

Let me investigate this issue.

Thanks
Fabio Estevam April 17, 2020, 11:41 a.m. UTC | #2
Hi Heiko,

On Fri, Apr 17, 2020 at 8:33 AM Fabio Estevam <festevam at gmail.com> wrote:

> Ok, I have a mx6dl wandboad here and I managed to reproduce the issue
> you reported.
>
> Let me investigate this issue.

Ok, I managed to fix it.

I will submit a new series soon.

Thanks
Derek Atkins April 17, 2020, noon UTC | #3
Hi,
Let me know if you want me to test this on my imx6q d1

-derek
Sent using my mobile device. Please excuse any typos.
On April 17, 2020 7:41:03 AM Fabio Estevam <festevam at gmail.com> wrote:

> Hi Heiko,
>
> On Fri, Apr 17, 2020 at 8:33 AM Fabio Estevam <festevam at gmail.com> wrote:
>
>> Ok, I have a mx6dl wandboad here and I managed to reproduce the issue
>> you reported.
>>
>> Let me investigate this issue.
>
> Ok, I managed to fix it.
>
> I will submit a new series soon.
>
> Thanks
Fabio Estevam April 17, 2020, 12:30 p.m. UTC | #4
Hi Heiko,

On Fri, Apr 17, 2020 at 9:00 AM Derek Atkins <derek at ihtfp.com> wrote:
>
> Hi,
> Let me know if you want me to test this on my imx6q d1

Derek confirmed that v2 worked on his imx6q wandboard revD1 and I have
just submitted v2 to the list.

Hopefully it will also work on your imx6dl wandboard revD1.

Thanks
Heiko Schocher April 17, 2020, 2:50 p.m. UTC | #5
Hello Fabio,

Am 17.04.2020 um 14:30 schrieb Fabio Estevam:
> Hi Heiko,
> 
> On Fri, Apr 17, 2020 at 9:00 AM Derek Atkins <derek at ihtfp.com> wrote:
>>
>> Hi,
>> Let me know if you want me to test this on my imx6q d1
> 
> Derek confirmed that v2 worked on his imx6q wandboard revD1 and I have
> just submitted v2 to the list.
> 
> Hopefully it will also work on your imx6dl wandboard revD1.

Yes, can confirm this, see log attached.

Thanks for your efforts!

bye,
Heiko

hs at lab-1:tbot-tbot2go  [wandboard-devel-messe] $ tbot @argswandboardlab1 wandboard_ub_check_version
tbot starting ...
??Flags:
? 'lab-1-build'
??Calling wandboard_ub_check_version ...
?   ??[local] ssh -o BatchMode=yes -i /home/hs/.ssh/id_rsa -p 22 hs at 192.168.1.109
?   ??[lab1] strings /var/lib/tftpboot/wandboard/tbot/u-boot.bin | grep --color=never "U-Boot 2"
?   ?    ## U-Boot 2020.04-tbot-00375-g946d9a0974 (Apr 17 2020 - 16:20:27 +0200)
?   ??found in image U-Boot version U-Boot 2020.04-tbot-00375-g946d9a0974 (Apr 17 2020 - 16:20:27 +0200)
?   ??[lab1] strings /var/lib/tftpboot/wandboard/tbot/SPL | grep --color=never "U-Boot SPL"
?   ?    ## U-Boot SPL 2020.04-tbot-00375-g946d9a0974 (Apr 17 2020 - 16:20:27 +0200)
?   ??found in image U-Boot SPL version U-Boot SPL 2020.04-tbot-00375-g946d9a0974 (Apr 17 2020 - 
16:20:27 +0200)
?   ??[local] ssh -o BatchMode=yes -i /home/hs/.ssh/id_rsa -p 22 hs at 192.168.1.109
?   ??[lab1] kermit /home/hs/kermrc_wandboard
?   ??POWERON (wandboard)
?   ??[lab1] sudo sispmctl -D 01:01:56:a2:f1 -o 3
?   ?    ## Accessing Gembird #0 USB device 021
?   ?    ## Switched outlet 3 on
?   ??UBOOT (wandboard-uboot)
?   ?    <> Connecting to 
/dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller_D-if00-port0, speed 115200
?   ?    <>  Escape character: Ctrl-\ (ASCII 28, FS): enabled
?   ?    <> Type the escape character followed by C to get back,
?   ?    <> or followed by ? to see other options.
?   ?    <> ----------------------------------------------------
?   ?    <>
?   ?    <> U-Boot SPL 2020.04-tbot-00375-g946d9a0974 (Apr 17 2020 - 16:20:27 +0200)
?   ?    <> Trying to boot from MMC1
?   ?    <>
?   ?    <>
?   ?    <> U-Boot 2020.04-tbot-00375-g946d9a0974 (Apr 17 2020 - 16:20:27 +0200)
?   ?    <>
?   ?    <> CPU:   Freescale i.MX6DL rev1.3 at 792 MHz
?   ?    <> Reset cause: POR
?   ?    <> DRAM:  1 GiB
?   ?    <> PMIC:  PFUZE100 ID=0x10
?   ?    <> MMC:   FSL_SDHC: 2, FSL_SDHC: 1, FSL_SDHC: 0
?   ?    <> Loading Environment from MMC... *** Warning - bad CRC, using default environment
?   ?    <>
?   ?    <> No panel detected: default to HDMI
?   ?    <> Display: HDMI (1024x768)
?   ?    <> In:    serial
?   ?    <> Out:   serial
?   ?    <> Err:   serial
?   ?    <> Board: Wandboard rev D1
?   ?    <> Net:
?   ?    <> Warning: ethernet at 2188000 using MAC address from ROM
?   ?    <> eth0: ethernet at 2188000
?   ?    <> Hit any key to stop autoboot:  0
?   ?    <> =>
?   ??found U-Boot SPL version U-Boot SPL 2020.04-tbot-00375-g946d9a0974 (Apr 17 2020 - 16:20:27 
+0200) installed
?   ??found U-Boot version U-Boot 2020.04-tbot-00375-g946d9a0974 (Apr 17 2020 - 16:20:27 +0200) 
installed
?   ??POWEROFF (wandboard)
?   ??[lab1] sudo sispmctl -D 01:01:56:a2:f1 -f 3
?   ?    ## Accessing Gembird #0 USB device 021
?   ?    ## Switched outlet 3 off
?   ??Done. (14.212s)
??????????????????????????????????????????
??Log written to '/home/hs/data/Entwicklung/wandboard/tbot-tbot2go/log/lab1-wandboard-0040.json'
??SUCCESS (14.340s)
hs at lab-1:tbot-tbot2go  [wandboard-devel-messe] $
Derek Atkins April 17, 2020, 3:02 p.m. UTC | #6
For the record, I also tested this on a Wandboard Dual RevC1 and it worked
there, too.

-derek

On Fri, April 17, 2020 10:50 am, Heiko Schocher wrote:
> Hello Fabio,
>
> Am 17.04.2020 um 14:30 schrieb Fabio Estevam:
>> Hi Heiko,
>>
>> On Fri, Apr 17, 2020 at 9:00 AM Derek Atkins <derek at ihtfp.com> wrote:
>>>
>>> Hi,
>>> Let me know if you want me to test this on my imx6q d1
>>
>> Derek confirmed that v2 worked on his imx6q wandboard revD1 and I have
>> just submitted v2 to the list.
>>
>> Hopefully it will also work on your imx6dl wandboard revD1.
>
> Yes, can confirm this, see log attached.
>
> Thanks for your efforts!
>
> bye,
> Heiko
>
> hs at lab-1:tbot-tbot2go  [wandboard-devel-messe] $ tbot @argswandboardlab1
> wandboard_ub_check_version
> tbot starting ...
> ??Flags:
> ? 'lab-1-build'
> ??Calling wandboard_ub_check_version ...
> ?   ??[local] ssh -o BatchMode=yes -i /home/hs/.ssh/id_rsa -p 22
> hs at 192.168.1.109
> ?   ??[lab1] strings /var/lib/tftpboot/wandboard/tbot/u-boot.bin | grep
> --color=never "U-Boot 2"
> ?   ?    ## U-Boot 2020.04-tbot-00375-g946d9a0974 (Apr 17 2020 - 16:20:27
> +0200)
> ?   ??found in image U-Boot version U-Boot 2020.04-tbot-00375-g946d9a0974
> (Apr 17 2020 - 16:20:27 +0200)
> ?   ??[lab1] strings /var/lib/tftpboot/wandboard/tbot/SPL | grep
> --color=never "U-Boot SPL"
> ?   ?    ## U-Boot SPL 2020.04-tbot-00375-g946d9a0974 (Apr 17 2020 -
> 16:20:27 +0200)
> ?   ??found in image U-Boot SPL version U-Boot SPL
> 2020.04-tbot-00375-g946d9a0974 (Apr 17 2020 -
> 16:20:27 +0200)
> ?   ??[local] ssh -o BatchMode=yes -i /home/hs/.ssh/id_rsa -p 22
> hs at 192.168.1.109
> ?   ??[lab1] kermit /home/hs/kermrc_wandboard
> ?   ??POWERON (wandboard)
> ?   ??[lab1] sudo sispmctl -D 01:01:56:a2:f1 -o 3
> ?   ?    ## Accessing Gembird #0 USB device 021
> ?   ?    ## Switched outlet 3 on
> ?   ??UBOOT (wandboard-uboot)
> ?   ?    <> Connecting to
> /dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller_D-if00-port0,
> speed 115200
> ?   ?    <>  Escape character: Ctrl-\ (ASCII 28, FS): enabled
> ?   ?    <> Type the escape character followed by C to get back,
> ?   ?    <> or followed by ? to see other options.
> ?   ?    <> ----------------------------------------------------
> ?   ?    <>
> ?   ?    <> U-Boot SPL 2020.04-tbot-00375-g946d9a0974 (Apr 17 2020 -
> 16:20:27 +0200)
> ?   ?    <> Trying to boot from MMC1
> ?   ?    <>
> ?   ?    <>
> ?   ?    <> U-Boot 2020.04-tbot-00375-g946d9a0974 (Apr 17 2020 - 16:20:27
> +0200)
> ?   ?    <>
> ?   ?    <> CPU:   Freescale i.MX6DL rev1.3 at 792 MHz
> ?   ?    <> Reset cause: POR
> ?   ?    <> DRAM:  1 GiB
> ?   ?    <> PMIC:  PFUZE100 ID=0x10
> ?   ?    <> MMC:   FSL_SDHC: 2, FSL_SDHC: 1, FSL_SDHC: 0
> ?   ?    <> Loading Environment from MMC... *** Warning - bad CRC, using
> default environment
> ?   ?    <>
> ?   ?    <> No panel detected: default to HDMI
> ?   ?    <> Display: HDMI (1024x768)
> ?   ?    <> In:    serial
> ?   ?    <> Out:   serial
> ?   ?    <> Err:   serial
> ?   ?    <> Board: Wandboard rev D1
> ?   ?    <> Net:
> ?   ?    <> Warning: ethernet at 2188000 using MAC address from ROM
> ?   ?    <> eth0: ethernet at 2188000
> ?   ?    <> Hit any key to stop autoboot:  0
> ?   ?    <> =>
> ?   ??found U-Boot SPL version U-Boot SPL 2020.04-tbot-00375-g946d9a0974
> (Apr 17 2020 - 16:20:27
> +0200) installed
> ?   ??found U-Boot version U-Boot 2020.04-tbot-00375-g946d9a0974 (Apr 17
> 2020 - 16:20:27 +0200)
> installed
> ?   ??POWEROFF (wandboard)
> ?   ??[lab1] sudo sispmctl -D 01:01:56:a2:f1 -f 3
> ?   ?    ## Accessing Gembird #0 USB device 021
> ?   ?    ## Switched outlet 3 off
> ?   ??Done. (14.212s)
> ??????????????????????????????????????????
> ??Log written to
> '/home/hs/data/Entwicklung/wandboard/tbot-tbot2go/log/lab1-wandboard-0040.json'
> ??SUCCESS (14.340s)
> hs at lab-1:tbot-tbot2go  [wandboard-devel-messe] $
> --
> DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de
>
diff mbox series

Patch

--- a/configs/wandboard_defconfig
+++ b/configs/wandboard_defconfig
@@ -29,7 +29,6 @@  CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run
distro_bootcmd"
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
-CONFIG_DISPLAY_BOARDINFO_LATE=y
 CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y