[U-Boot] mx6qp sabreauto hangs after saveenv/reset

Hi Peng,
On a mx6qp sabreauto I noticed that the board hangs after doing:
=> saveenv => reset
U-Boot 2015.10-rc4-24385-ge04e21c-dirty (Oct 08 2015 - 13:08:54 -0300)
CPU: Freescale i.MX6QP rev1.0 996 MHz (running at 792 MHz) CPU: Automotive temperature grade (-40C to 125C) at 38C Reset cause: POR Board: MX6Q-Sabreauto revA I2C: ready DRAM: 2 GiB PMIC: PFUZE100 ID=0x10 Flash: 32 MiB NAND:
(hangs here)
Any ideas?
Thanks

On 08/10/15 12:24 PM, Fabio Estevam wrote:
Hi Peng,
On a mx6qp sabreauto I noticed that the board hangs after doing:
=> saveenv => reset
U-Boot 2015.10-rc4-24385-ge04e21c-dirty (Oct 08 2015 - 13:08:54 -0300)
CPU: Freescale i.MX6QP rev1.0 996 MHz (running at 792 MHz) CPU: Automotive temperature grade (-40C to 125C) at 38C Reset cause: POR Board: MX6Q-Sabreauto revA I2C: ready DRAM: 2 GiB PMIC: PFUZE100 ID=0x10 Flash: 32 MiB NAND:
(hangs here)
Any ideas?
Now, is this before or after our recent reset revert ?
Regards Sinan Akman

Hi Sinan,
On Thu, Oct 8, 2015 at 5:25 PM, Sinan Akman sinan@writeme.com wrote:
Now, is this before or after our recent reset revert ?
We ended up not doing the reset revert. I sent a patch adding a specific ls102x reset instead, but this one has not been applied yet.
This one is unrelated to the watchdog issue. In the mx6qp the board resets, but it hangs in the NAND driver.
I did not have a chance to further debug it yet. mx6q does not show this problem.
Regards,
Fabio Estevam

Hi Fabio
On 08/10/15 04:29 PM, Fabio Estevam wrote:
Hi Sinan,
On Thu, Oct 8, 2015 at 5:25 PM, Sinan Akman sinan@writeme.com wrote:
Now, is this before or after our recent reset revert ?
We ended up not doing the reset revert. I sent a patch adding a specific ls102x reset instead, but this one has not been applied yet.
This one is unrelated to the watchdog issue. In the mx6qp the board resets, but it hangs in the NAND driver.
OK, thanks.
I did not have a chance to further debug it yet. mx6q does not show this problem.
Regards,
Fabio Estevam _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Hi Fabio,
On Thu, Oct 08, 2015 at 01:24:19PM -0300, Fabio Estevam wrote:
Hi Peng,
On a mx6qp sabreauto I noticed that the board hangs after doing:
=> saveenv => reset
U-Boot 2015.10-rc4-24385-ge04e21c-dirty (Oct 08 2015 - 13:08:54 -0300)
CPU: Freescale i.MX6QP rev1.0 996 MHz (running at 792 MHz) CPU: Automotive temperature grade (-40C to 125C) at 38C Reset cause: POR Board: MX6Q-Sabreauto revA I2C: ready DRAM: 2 GiB PMIC: PFUZE100 ID=0x10 Flash: 32 MiB NAND:
(hangs here)
Any ideas?
Thanks
Whether plugging nand chip into the socket or without nand chip, the board reboot well in my side. I did not do stress test, only do a few test, and each time 'reset', it can boot fine.
" => saveenv Saving Environment to MMC... Writing to MMC(0)... done => reset resetting ...
U-Boot 2015.10-rc4-00050-g996ec1d (Oct 09 2015 - 10:09:19 +0800)
CPU: Freescale i.MX6QP rev1.0 996 MHz (running at 792 MHz) CPU: Automotive temperature grade (-40C to 125C) at 38C Reset cause: WDOG Board: MX6Q-Sabreauto revA I2C: ready DRAM: 2 GiB PMIC: PFUZE100 ID=0x10 Flash: 32 MiB NAND: 0 MiB MMC: FSL_SDHC: 0 No panel detected: default to HDMI Display: HDMI (1024x768) In: serial Out: serial Err: serial Net: , FEC [PRIME] Warning: FEC using MAC address from net device
Hit any key to stop autoboot: 0 "
Regards, Peng.
--

Hi Peng,
On Thu, Oct 8, 2015 at 11:12 PM, Peng Fan b51431@freescale.com wrote:
Whether plugging nand chip into the socket or without nand chip, the board reboot well in my side. I did not do stress test, only do a few test, and each time 'reset', it can boot fine.
Thanks for testing it.
Maybe it is an issue with the board I have. I should receive a new one next week and will test it.
By the way, does your board work standalone (without the base board)? Mine only works when it is connected to the base board and in this case I need to supply 12V.
Thanks

On 10/09/2015 09:59 AM, Fabio Estevam wrote:
Hi Peng,
On Thu, Oct 8, 2015 at 11:12 PM, Peng Fan b51431@freescale.com wrote:
Whether plugging nand chip into the socket or without nand chip, the board reboot well in my side. I did not do stress test, only do a few test, and each time 'reset', it can boot fine.
Thanks for testing it.
Maybe it is an issue with the board I have. I should receive a new one next week and will test it.
By the way, does your board work standalone (without the base board)? Mine only works when it is connected to the base board and in this case I need to supply 12V.
Thanks
There is a jumper (J2) to change it to standalone. Mine works without baseboard and 5V supply.
-Nitin

On Fri, Oct 9, 2015 at 12:08 PM, Nitin Garg nitin.garg@freescale.com wrote:
There is a jumper (J2) to change it to standalone. Mine works without baseboard and 5V supply.
Excellent, will give this a try when I am back to the office on Tuesday.
Thanks
participants (4)
-
Fabio Estevam
-
Nitin Garg
-
Peng Fan
-
Sinan Akman