From: Sascha Hauer <s.hauer@pengutronix.de>
To: "Панов Андрей" <rockford@yandex.ru>
Cc: barebox <barebox@lists.infradead.org>
Subject: Re: [RFC] [GIT] Update support for RK3188 (Radxa Rock board).
Date: Mon, 2 Mar 2015 07:30:30 +0100 [thread overview]
Message-ID: <20150302063029.GF11010@pengutronix.de> (raw)
In-Reply-To: <13024131425216058@web27o.yandex.ru>
Hi Andrey,
On Sun, Mar 01, 2015 at 04:20:58PM +0300, Панов Андрей wrote:
> Hello!
>
> Here is a big changeset for RK3188 arch and Radxa Rock board.
> It brings support for updated DTS and booting from SD card as first-stage loader.
> DRAM setting blob from RK is required to boot (but this is unrelated to barebox).
>
> It lacks some unknown (for me) and requred initializations, so:
> 3.0 kernel from radxa repo boots fine. Mainline kernel gets a race in about 50%, and in another 50% works.
> It is disgusting, since I'd just wanted to try a newer kernel with this board.
>
> For not to spamming a ML with a long patches, it can be pulled from git tree:
> https://github.com/apxii/barebox/tree/rk/2up
Nice work! I had a quick view over some of the patches, they look fine at first
view. You should send them to the list for better review. People reading
opensource mailing list are normally used to ignore big amounts of mail
;)
> (based on next branch)
>
> Little howto:
> 1. Prepare SD card with bootfs and rootfs as usually.
> 2. Compile barebox
> make ARCH=arm radxa_rock_defconfig
> make ARCH=arm
> 3. Checkout and compile https://github.com/apxii/rkboottools
> 4. Get some RK3188 bootloader from https://github.com/neo-technologies/rockchip-bootloader
> 5. Run "rk-splitboot RK3188Loader(L)_V2.13.bin" command. (for example)
> You will get "FlashData" file with others.
> Otherwise it can be borrowed from RK U-boot sources from https://github.com/linux-rockchip/u-boot-rockchip/blob/u-boot-rk3188/tools/rk_tools/3188_LPDDR2_300MHz_DDR3_300MHz_20130830.bin
> 6. Run "rk-makebootable FlashData barebox-radxa-rock.bin rrboot.bin"
> 7. Insert SD card and run "dd if=rrboot.bin of=</dev/sdcard> bs=$((0x200)) seek=$((0x40))"
> 8. Boot from SD card
It would be nice to have that somewhere in
Documentation/boards/rockchip.rst.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2015-03-02 6:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-01 13:20 Панов Андрей
2015-03-02 6:30 ` Sascha Hauer [this message]
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=20150302063029.GF11010@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=rockford@yandex.ru \
/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