From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] Olimex A20 Micro - freezing during boot up
Date: Fri, 18 Sep 2015 00:36:53 +0200 [thread overview]
Message-ID: <55FB4085.4020107@mind.be> (raw)
In-Reply-To: <55F9808D.1020809@kgolding.co.uk>
On 16-09-15 16:45, Kevin Golding wrote:
> Hello,
>
> I've created a system based on the olimex_a20_olinuxino_micro_defconfig
When you say "based on", do you mean "equal to"? If not, go back to the
defconfig and check if that works. Don't hold your breath, though - see below.
> and I'm
> seeing it freeze at around 1.2 seconds during the boot up.
>
> I'm a little worried about some of the errors during the boot such as "Failed to
> set core voltage! Can't set CPU frequency"
This is potentially harmful.
> "*** Warning - bad CRC, using default environment"
This is quite harmless: U-Boot tries to read the environment from flash, but
it's not there (yet) because you never saved it.
> but as a complete newbie I'm not sure how important they are!
>
> I've copied the serial capture below, and I would love to get my hands of
> someone's working equivalent to compare against, or any suggestions/advice?
>
> Thanks,
>
> Kevin
>
> --------------------------- Serial capture below -------------------------------
>
> U-Boot SPL 2015.04 (Sep 16 2015 - 09:57:21)
> DRAM: 1024 MiB
> Failed to set core voltage! Can't set CPU frequency
>
>
[snip]
> [ 1.073035] axp20x 0-0034: AXP20x variant AXP209 found
> [ 1.078689] axp20x 0-0034: Failed to set masks in 0x40: -6
> [ 1.084264] axp20x 0-0034: failed to add irq chip: -6
This looks potentially problematic. The AXP is the PMIC, i.e. the thing that
regulates the voltages to your CPU. If that thing is not working correctly,
things go very bad.
> [ 1.092777] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec,
> nowayout=0)
> [ 1.101056] Driver 'mmcblk' needs updating - please use bus_type methods
> [ 1.108745] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found
> [ 1.114990] sunxi-mmc 1c0f000.mmc: Got CD GPIO
> [ 1.150750] sunxi-mmc 1c0f000.mmc: base:0xf00b8000 irq:27
> [ 1.157146] sunxi-mmc 1c12000.mmc: No vqmmc regulator found
> [ 1.163483] sunxi-mmc 1c12000.mmc: Got CD GPIO
> [ 1.200758] sunxi-mmc 1c12000.mmc: base:0xf00bc000 irq:28
> [ 1.208924] usbcore: registered new interface driver usbhid
> [ 1.214589] usbhid: USB HID core driver
> [ 1.220243] TCP: cubic registered
> [ 1.223677] NET: Registered protocol family 17
> [ 1.228168] mmc0: host does not support reading read-only switch, assuming
> write-e
It's even stopping in the middle of a printk...
Smells to me like a hardware issue: insufficient current or possibly even
overheating. Do you have another board to test?
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
next prev parent reply other threads:[~2015-09-17 22:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-16 14:45 [Buildroot] Olimex A20 Micro - freezing during boot up Kevin Golding
2015-09-17 22:36 ` Arnout Vandecappelle [this message]
2015-09-18 11:07 ` Kevin Golding
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55FB4085.4020107@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.