On Mon, Aug 10, 2015 at 1:05 PM, Robert Nelson <robertcnel...@gmail.com> wrote:
> On Mon, Aug 10, 2015 at 11:23 AM, Nuno Gonçalves <nuno...@gmail.com> wrote:
>> 3 weeks ago I asked for it "For what is worth I believe the OMAP and
>> PMIC reset reason registers should be part of the boot log so future
>> reboot problems can be sorted.".
>>
>> But I just asked, I didn't actually code!
>>
>> Not sure if it is easy to retrieve both, or if PMIC is that much
>> relevant for this issues.
>>
>> Anyway, this will surely take out black magic from the equation when
>> debugging this problems.
>
> Okay here's something quick/dirty...
>
> http://rcn-ee.homeip.net:81/farm/testing/v4.1.x/MLO-am335x_evm-v2015.07-r3
> http://rcn-ee.homeip.net:81/farm/testing/v4.1.x/u-boot-am335x_evm-v2015.07-r3.img
>
> #patch:
> https://github.com/RobertCNelson/Bootloader-Builder/blob/master/patches/v2015.07/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch#L21
>
> make sure the eMMC doesn't have it's own bootloader:
>
> U-Boot 2015.07-00001-gd8d32cf (Aug 10 2015 - 12:54:52 -0500)
>
>        Watchdog enabled
> I2C:   ready
> DRAM:  512 MiB
> Reset Source: Global external warm reset has occurred.
> Reset Source: Power-on reset has occurred.
> MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
> Using default environment
>
> dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=10
>
> sudo dd if=MLO-am335x_evm-v2015.07-r3 of=/dev/sde count=1 seek=1 bs=128k
> sudo dd if=u-boot-am335x_evm-v2015.07-r3.img of=/dev/sde count=2 seek=1 
> bs=384k
>
> I need to fire up x86, that's attached to the bbb's (right now i can't
> log serial)

Okay.... within a few minutes the first board rebooted...

"Reset Source: Power-on reset has occurred." ....

bbb-4 is an "A6" model..  I have 3 others still running, so i'll keep
track of those too...

root@test-bbb-4:~#
U-Boot SPL 2015.07-00001-gd8d32cf (Aug 10 2015 - 12:54:52)


U-Boot 2015.07-00001-gd8d32cf (Aug 10 2015 - 12:54:52 -0500)

       Watchdog enabled
I2C:   ready
DRAM:  512 MiB
Reset Source: Power-on reset has occurred.
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw
Hit any key to stop autoboot:  0
gpio: pin 53 (gpio 53) value is 1
switch to partitions #0, OK
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
Checking for: /uEnv.txt ...
Checking for: /boot.scr ...
Checking for: /boot/boot.scr ...
Checking for: /boot/uEnv.txt ...
gpio: pin 55 (gpio 55) value is 1
1550 bytes read in 31 ms (48.8 KiB/s)
Loaded environment from /boot/uEnv.txt
Checking if uname_r is set in /boot/uEnv.txt...
gpio: pin 56 (gpio 56) value is 1
Running uname_boot ...
loading /boot/vmlinuz-4.1.4-ti-r8 ...

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to