From: "Cédric Le Goater" <clg@kaod.org>
To: Shay Slobodkin <shays@mellanox.com>,
"openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: Re: AST2500 support questions
Date: Wed, 8 Jun 2016 14:16:03 +0200 [thread overview]
Message-ID: <57580C83.9060205@kaod.org> (raw)
In-Reply-To: <DB4PR05MB0941CA88039CFE2BEEA8ECD9D55D0@DB4PR05MB0941.eurprd05.prod.outlook.com>
On 06/07/2016 08:43 PM, Shay Slobodkin wrote:
> Hi,
>
>
>
> Following the latest great news of adding support for AST2500 into main code, we boost up our work to align with yours.
>
> Several questions regarding our current status, appreciate the assistance hopefully it will be merged into openbmc code as well soon.
>
>
>
> 1. We were trying to fetch latest code from origin, hoping AST2500 will be inside already.
>
> After fetch, we couldn’t find the new AST2500 addition under:
>
> meta-openbmc-bsp/meta-aspeed/ or meta-openbmc-machines/
>
> Is it held somewhere else, on a different git branch?
>
>
>
>
>
> 2. We have loaded ast2500-evb with aspped-ast2500-evb.dtb file on aspeed evb, but we faced some problems with DTB.
>
> We tried kernels 4.6 and 4.7 from:
>
> <https://github.com/shenki/linux/tree/dev-4.7>
>
> <https://github.com/openbmc/linux/tree/dev-4.6>
I have added these for the ramfs :
CONFIG_KERNEL_LZMA=y
CONFIG_RD_LZMA=y
CONFIG_SHMEM=y
CONFIG_TMPFS=y
CONFIG_DECOMPRESS_LZMA=y
and create the uImage as specified here :
https://github.com/openbmc/docs/blob/master/kernel-development.md
do the same with the ramfs.
> We tried to boot it with uImage and separate DTB image using the command ‘bootm <KERNEL_ADDR> - <DTB_ADDR>’
>
> but the kernel seems to halt during boot, the only messages we got were:
>
>
>
> ## Booting kernel from Legacy Image at 83000000 ...
>
> Image Name: Linux-4.7.0-rc1-12701-gca25849-d
>
> Image Type: ARM Linux Kernel Image (uncompressed)
>
> Data Size: 2102392 Bytes = 2 MiB
>
> Load Address: 80800000
>
> Entry Point: 80800000
>
> Verifying Checksum ... OK
>
> ## Flattened Device Tree blob at 82000000
>
> Booting using the fdt blob at 0x82000000
>
> Loading Kernel Image ... OK
>
> OK
>
> Loading Device Tree to 9eb7b000, end 9eb7f971 ... OK
>
> Starting kernel ...
>
> Uncompressing Linux... done, booting the kernel.
>
>
>
> We added CONFIG_OF_LIBFDT to ast-g5.h and it allow us to get to boot with a separate DTB file (aspeed-ast2500-evb.dtb) as seen above.
>
>
>
> We also tried to boot zImage, we failed with the following message (for that we added CONFIG_CMD_BOOTZ to u-boot config):
>
>
>
> ast# bootz 0x83000000
>
>
>
> Our initial try, we received this output:
>
>
>
> Starting kernel ...
>
> Uncompressing Linux... done, booting the kernel.
>
> no ATAGS support: can't continue
>
>
>
> Then we added CONFFIG_ATAGS to kernel config and failed with the below:
>
>
>
> Starting kernel ...
>
> Uncompressing Linux... done, booting the kernel.
>
> Error: unrecognized/unsupported machine ID (r1 = 0x000022b8).
>
> Available machine support:
>
> ID (hex) NAME
>
> ffffffff Generic DT based system
>
> ffffffff ASpeed SoC
>
>
>
>
>
> Which u-boot command do you suggest for booting with DTB file?
>
> How did you guys managed to boot?
>
>
>
> 3. We saw in a latest updates that there is a new u-boot https://github.com/legoater/u-boot/tree/v2016.05-ast2500.
>
> Is it stable enough for using it?
That is what use. I could not boot a openbmc kernel with the original uboot,
probably because of how it configured the HW. I did not investigate yet.
Cheers,
C.
>
>
> Thank you guys for the great support,
>
> Shay
>
>
>
> _______________________________________________
> openbmc mailing list
> openbmc@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc
>
next prev parent reply other threads:[~2016-06-08 12:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-07 18:43 AST2500 support questions Shay Slobodkin
2016-06-07 21:38 ` Rick Altherr
2016-06-08 12:16 ` Cédric Le Goater [this message]
2016-06-09 0:54 ` Patrick Williams
2016-06-09 18:35 ` Xo Wang
2016-06-10 8:50 ` Joel Stanley
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=57580C83.9060205@kaod.org \
--to=clg@kaod.org \
--cc=openbmc@lists.ozlabs.org \
--cc=shays@mellanox.com \
/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.