Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] board: add support for ARC HS Development Kit (HSDK)
Date: Sat, 31 Mar 2018 16:06:57 +0200	[thread overview]
Message-ID: <87efk0uyny.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20180331151039.40c7dce2@windsurf> (Thomas Petazzoni's message of "Sat, 31 Mar 2018 15:10:39 +0200")

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:

 > Hello,
 > On Tue, 19 Dec 2017 17:55:54 +0300, Evgeniy Didin wrote:

 >> index 0000000000..e99a4a0b96
 >> --- /dev/null
 >> +++ b/board/synopsys/hsdk/post-image.sh
 >> @@ -0,0 +1,18 @@
 >> +#!/bin/bash
 >> +
 >> +BOARD_DIR="$(dirname $0)"
 >> +BOARD_NAME="$(basename ${BOARD_DIR})"
 >> +GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
 >> +GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
 >> +rm -rf "${GENIMAGE_TMP}"
 >> +
 >> +mv ${BINARIES_DIR}/uboot-env.bin ${BINARIES_DIR}/uboot.env

 > This rename can be done by the genimage.cfg file.

 >> +
 >> +genimage                           \
 >> +        --rootpath "${TARGET_DIR}"     \
 >> +        --tmppath "${GENIMAGE_TMP}"    \
 >> +        --inputpath "${BINARIES_DIR}"  \
 >> +        --outputpath "${BINARIES_DIR}" \
 >> +        --config "${GENIMAGE_CFG}"
 >> +gzip < ${BINARIES_DIR}/sdcard.img > ${BINARIES_DIR}/sdcard.img.gz

 > And we don't need to generate a compressed SD card image.

 > With those two changes, the common support/scripts/genimage.sh script
 > can be used.

 > I think Peter will fix this up when applying.

Correct. Applied with the following changes:

- Renamed defconfig to snps_archs38_hsdk_defconfig
- Fix comments in defconfig
- Added defconfig to DEVELOPERS and fixup board/synopsys entry
- Drop postimage script, rename env file in genimage.cfg and drop size
  setting for rootfs partition
- Add "" for CONFIG_INITRAMFS_SOURCE in linux fragment

It would be good if you could add a followup patch adding a readme.txt
and update DEVELOPERS with the other snps defconfigs.

-- 
Bye, Peter Korsgaard

      reply	other threads:[~2018-03-31 14:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-19 14:55 [Buildroot] [PATCH v2] board: add support for ARC HS Development Kit (HSDK) Evgeniy Didin
2018-01-17 10:26 ` Evgeniy Didin
2018-01-31  7:58 ` Alexey Brodkin
2018-02-07  8:43   ` Alexey Brodkin
2018-02-19  7:56     ` Alexey Brodkin
2018-03-29 10:58       ` Evgeniy Didin
2018-03-31 12:56 ` Romain Naour
2018-03-31 13:25   ` Arnout Vandecappelle
2018-04-02 15:28     ` Alexey Brodkin
2018-04-02 20:27       ` Arnout Vandecappelle
2018-03-31 13:10 ` Thomas Petazzoni
2018-03-31 14:06   ` Peter Korsgaard [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=87efk0uyny.fsf@dell.be.48ers.dk \
    --to=peter@korsgaard.com \
    --cc=buildroot@busybox.net \
    /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