* Re: [openbmc-qemu]: Add read mac from eeprom in uboot by i2c and lead to the image unable to start in QEMU?
[not found] ` <3c87dea1.379a.179a29ccce3.Coremail.ouyangxuan10@163.com>
@ 2021-05-25 23:06 ` Andrew Jeffery
0 siblings, 0 replies; only message in thread
From: Andrew Jeffery @ 2021-05-25 23:06 UTC (permalink / raw)
To: www; +Cc: openbmc, Cédric Le Goater
Hi Byron,
I've Cc'ed the openbmc mailing list on this reply.
On Tue, 25 May 2021, at 17:50, www wrote:
>
>
> At 2021-05-24 08:22:58, "Andrew Jeffery" <andrew@aj.id.au> wrote:
> >Hi Byron
> >
> >On Sat, 22 May 2021, at 19:32, www wrote:
> >> Hi Andrew Jeffery, Joel Stanley & Cédric Le Goater,
> >>
> >> chip:aspeed 2500
> >> uboot : u-boot-2016.07 commit-id: cc6c5bef00ebbac0b37
> >> platform: romulus
> >>
> >> I enable read mac from eeprom by i2c in uboot, and lead to the image
> >> unable to start in QEMU. The startup process stops at "Starting kernel
> >> ...“
> >> I'd like to ask:
> >> 1. How can I solve this problem? Do you have any suggestions?
> >
> >Can you please configure your kernel with the following and re-run?
> >
> > CONFIG_DEBUG_LL=y
> > CONFIG_DEBUG_LL_UART_8250=y
> > CONFIG_DEBUG_UART_PHYS=0x1e784000
> > CONFIG_DEBUG_UART_VIRT=0xf8184000
> >
> I set up these four items and didn't print any information.
> then I add "*#define DEBUG*" in the file of *arch/arm/boot/compressed/head.S*,
> It's just one more line printed.
Sorry, I failed to mention that you also need to add 'debug' and
'earlyprintk' to your kernel commandline (i.e. append them to the
'bootargs' u-boot environment variable) for the CONFIG_DEBUG_* bits
above to be useful.
Let me know if that helps.
Andrew
>
> thanks,
> Byron
>
> >This allows us to see the kernel log before the UART driver is probed.
> >
> >Also, please ask these questions on the mailing list. Other people
> >might have similar problems and so a public discussion will help them
> >too. Posting publicly can help you also, because you're relying on at
> >least one of the three of us to reply to you in a reasonable timeframe.
> >If your question is public anyone who has the skills and time can chime
> >in to help you out.
> >
> >Andrew
>
>
>
>
> Attachments:
> * image.png
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-25 23:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <5ad9e979.1337.1799386d2c8.Coremail.ouyangxuan10@163.com>
[not found] ` <682a1194-bb2c-42c5-a4d5-1fb3a7ae750d@www.fastmail.com>
[not found] ` <3c87dea1.379a.179a29ccce3.Coremail.ouyangxuan10@163.com>
2021-05-25 23:06 ` [openbmc-qemu]: Add read mac from eeprom in uboot by i2c and lead to the image unable to start in QEMU? Andrew Jeffery
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).