AST2500 support questions
Rick Altherr
raltherr at google.com
Wed Jun 8 07:38:47 AEST 2016
openbmc/openbmc master only has AST2400 support. All of the AST2500
support is in separate branches for now as it is incomplete and AST2400
support on those branches hasn't been tested yet. If you want to build an
AST2500 image, you can use my kc8apf/openbmc ast2500 branch
<https://github.com/kc8apf/openbmc/tree/ast2500> which will build an image
for the EVB. I know the resulting u-boot gets far enough to load a kernel
but I haven't tried booting the full image yet. Xo Wang has been trying
that and I believe his recent kernel pull request
<https://github.com/openbmc/linux/pull/93> is needed for the root to
mount. This is all a big work in progress. I'm hoping to pull all the
changes from my ast2500 branch into openbmc/openbmc sometime this week.
Please feel free to mail out patches or share trees in the meantime.
On Tue, Jun 7, 2016 at 11:43 AM, Shay Slobodkin <shays at mellanox.com> 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>
>
>
>
> 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?
>
>
>
> Thank you guys for the great support,
>
> Shay
>
> _______________________________________________
> openbmc mailing list
> openbmc at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20160607/966dafeb/attachment.html>
More information about the openbmc
mailing list