From: "Alexander Shiyan" <shc_work@mail.ru>
To: "Giorgio Dal Molin" <giorgio.nicole@arcor.de>
Cc: barebox@lists.infradead.org
Subject: Re: barebox for a ti am335x based board
Date: Wed, 14 Feb 2018 08:11:26 +0300 [thread overview]
Message-ID: <1518585086.457175637@f327.i.mail.ru> (raw)
In-Reply-To: <ba32e817-48b6-9266-ffd7-d2397d103f7a@arcor.de>
>Среда, 14 февраля 2018, 1:13 +03:00 от Giorgio Dal Molin <giorgio.nicole@arcor.de>:
>
>Hi all,
>
>I'm trying to add board code for an am335x based HW project.
>I had a look at similar boards like 'boards/phytec-som-am335x'
>or 'boards/beaglebone'.
>I understand that I need two images: the (little) MLO and the
>(bigger) barebox.
>
>What it's not really clear is how the MLO loads and starts the
>barebox.
>
>Moreover I saw there's always a call to:
>
> am33xx_save_bootinfo((void *)bootinfo);
>
>in the MLO lowlevel entry function; I suspect the argument
>'bootinfo' is the register r0 left by the function __barebox_arm_head()
>but I cannot really understand the logic behind it.
Hello.
You can try to reuse my implementation AM335X code and change it
for your hardware.
https://github.com/shcgit/barebox-github/tree/am335x
---
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2018-02-14 5:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-13 22:12 Giorgio Dal Molin
2018-02-14 5:11 ` Alexander Shiyan [this message]
2018-02-16 7:51 ` Sascha Hauer
2018-02-16 9:15 ` Giorgio Dal Molin
2018-02-19 6:28 ` Sascha Hauer
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=1518585086.457175637@f327.i.mail.ru \
--to=shc_work@mail.ru \
--cc=barebox@lists.infradead.org \
--cc=giorgio.nicole@arcor.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox