From: afaerber@suse.de (Andreas Färber)
To: linus-amlogic@lists.infradead.org
Subject: [U-Boot] [PATCH v2 5/5] arm: Add Khadas VIM support based on Meson GXL family
Date: Sun, 26 Nov 2017 14:48:44 +0100 [thread overview]
Message-ID: <82d31d94-29cc-ed99-32f1-f9ea8dc121bb@suse.de> (raw)
In-Reply-To: <CAPnjgZ2Bcv==RCoJmdZyVG1uqzBQDXTUL8hTcQ3we-qWC5Jc8g@mail.gmail.com>
Hi Simon,
Am 24.11.2017 um 23:35 schrieb Simon Glass:
> On 22 November 2017 at 06:25, Neil Armstrong <narmstrong@baylibre.com> wrote:
>> +Go back to mainline U-Boot source tree then :
>> + > mkdir fip
>> +
>> + > cp $FIPDIR/gxl/bl2.bin fip/
>> + > cp $FIPDIR/gxl/acs.bin fip/
>> + > cp $FIPDIR/gxl/bl21.bin fip/
>> + > cp $FIPDIR/gxl/bl30.bin fip/
>> + > cp $FIPDIR/gxl/bl301.bin fip/
>> + > cp $FIPDIR/gxl/bl31.img fip/
>> + > cp u-boot.bin fip/bl33.bin
>> +
>> + > $FIPDIR/blx_fix.sh \
>> + fip/bl30.bin \
>> + fip/zero_tmp \
>> + fip/bl30_zero.bin \
>> + fip/bl301.bin \
>> + fip/bl301_zero.bin \
>> + fip/bl30_new.bin \
>> + bl30
>> +
>> + > $FIPDIR/acs_tool.pyc fip/bl2.bin fip/bl2_acs.bin fip/acs.bin 0
>> +
>> + > $FIPDIR/blx_fix.sh \
>> + fip/bl2_acs.bin \
>> + fip/zero_tmp \
>> + fip/bl2_zero.bin \
>> + fip/bl21.bin \
>> + fip/bl21_zero.bin \
>> + fip/bl2_new.bin \
>> + bl2
>> +
>> + > $FIPDIR/gxl/aml_encrypt_gxl --bl3enc --input fip/bl30_new.bin
>> + > $FIPDIR/gxl/aml_encrypt_gxl --bl3enc --input fip/bl31.img
>> + > $FIPDIR/gxl/aml_encrypt_gxl --bl3enc --input fip/bl33.bin
>> + > $FIPDIR/gxl/aml_encrypt_gxl --bl2sig --input fip/bl2_new.bin --output fip/bl2.n.bin.sig
>> + > $FIPDIR/gxl/aml_encrypt_gxl --bootmk \
>> + --output fip/u-boot.bin \
>> + --bl2 fip/bl2.n.bin.sig \
>> + --bl30 fip/bl30_new.bin.enc \
>> + --bl31 fip/bl31.img.enc \
>> + --bl33 fip/bl33.bin.enc
>> +
>> +and then write the image to SD with:
>> +
>> + > DEV=/dev/your_sd_device
>> + > dd if=fip/u-boot.bin.sd.bin of=$DEV conv=fsync,notrunc bs=512 skip=1 seek=1
>> + > dd if=fip/u-boot.bin.sd.bin of=$DEV conv=fsync,notrunc bs=1 count=444
>
> This bit (from 'got back to U-Boot sources') seems like a job for
> binman, as I just mentioned in the other patch.
I'm not familiar with binman either but would like to point out that
I've authored Open Source meson-tools for GXBB that could/should/will be
adapted to GXL at some point, too.
https://github.com/afaerber/meson-tools
So I'll be strictly opposed to hiding the above instructions from users
or to hardcoding the use of non-free x86_64-only tools inside U-Boot!
Regards,
Andreas
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany
GF: Felix Imend?rffer, Jane Smithard, Graham Norton
HRB 21284 (AG N?rnberg)
next prev parent reply other threads:[~2017-11-26 13:48 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-22 13:25 [PATCH v2 0/5] Add support for Amlogic GXL Based SBCs Neil Armstrong
2017-11-22 13:25 ` [PATCH v2 1/5] ARM: arch-meson: add ethernet common init function Neil Armstrong
2017-11-24 22:35 ` Simon Glass
2017-11-25 9:45 ` Neil Armstrong
2017-11-26 10:14 ` Beniamino Galvani
2017-11-26 11:39 ` Simon Glass
2017-11-27 8:48 ` Neil Armstrong
2017-11-27 17:12 ` Simon Glass
2017-11-22 13:25 ` [PATCH v2 2/5] board: odroid-c2: use common ethernet " Neil Armstrong
2017-11-24 22:35 ` Simon Glass
2017-11-22 13:25 ` [PATCH v2 3/5] board: p212: " Neil Armstrong
2017-11-24 22:35 ` Simon Glass
2017-11-22 13:25 ` [PATCH v2 4/5] arm: Add LibreTech CC support based on Meson GXL family Neil Armstrong
2017-11-24 22:35 ` Simon Glass
2017-11-25 9:46 ` Neil Armstrong
2017-11-22 13:25 ` [PATCH v2 5/5] arm: Add Khadas VIM " Neil Armstrong
2017-11-24 22:35 ` Simon Glass
2017-11-26 13:48 ` Andreas Färber [this message]
2017-11-25 9:48 ` [PATCH v2 0/5] Add support for Amlogic GXL Based SBCs Neil Armstrong
2017-11-25 22:34 ` Simon Glass
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=82d31d94-29cc-ed99-32f1-f9ea8dc121bb@suse.de \
--to=afaerber@suse.de \
--cc=linus-amlogic@lists.infradead.org \
/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
all inboxes | Powered by JetHome®