From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] configs: add defconfig for Nationalchip gx6605s dev board.
Date: Mon, 20 Mar 2017 22:48:39 +0100 [thread overview]
Message-ID: <20170320224839.6677ccd0@free-electrons.com> (raw)
In-Reply-To: <1488801152-13368-1-git-send-email-ren_guo@c-sky.com>
Hello,
On Mon, 6 Mar 2017 19:52:32 +0800, Guo Ren wrote:
> gx6605s is a nice SOC for dvbs2 DVB product, and C-SKY inside.
>
> Signed-off-by: Guo Ren <ren_guo@c-sky.com>
> ---
> DEVELOPERS | 2 +
> board/csky/gx6605s/gdbinit | 25 ++++++++++++
> board/csky/post-image.sh | 7 ++++
> board/csky/readme.txt | 92 ++++++++++++++++++++++++++++++++++++++++++
> configs/csky_gx6605s_defconfig | 18 +++++++++
> 5 files changed, 144 insertions(+)
> create mode 100644 board/csky/gx6605s/gdbinit
> create mode 100755 board/csky/post-image.sh
> create mode 100644 board/csky/readme.txt
> create mode 100644 configs/csky_gx6605s_defconfig
I've applied the patch after doing one change, see below.
> diff --git a/board/csky/post-image.sh b/board/csky/post-image.sh
> new file mode 100755
> index 0000000..be71f51
> --- /dev/null
> +++ b/board/csky/post-image.sh
> @@ -0,0 +1,7 @@
> +#!/bin/sh
> +# .gdbinit is the csky-linux-gdb default init script. eg:
> +# $ csky-linux-gdb vmlinux
> +# Gdb will read .gdbinit to load vmlinux by default.
> +# So, we need copy the gdbinit to the .gdbinit.
> +
> +install -D -m 0644 board/csky/gx6605s/gdbinit ${BINARIES_DIR}/.gdbinit
I've removed this entirely, and just changed the readme.txt
instructions to tell people to run:
./output/host/usr/bin/csky-linux-gdb -x board/csky/gx6605s/gdbinit output/images/vmlinux
By referencing the gdbinit file using the -x option, we don't have to
copy it around in an hidden file.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-03-20 21:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-06 11:52 [Buildroot] [PATCH 1/1] configs: add defconfig for Nationalchip gx6605s dev board Guo Ren
2017-03-06 13:52 ` ren_guo
2017-03-08 0:54 ` ren_guo
2017-03-20 21:48 ` Thomas Petazzoni [this message]
2017-03-21 3:29 ` ren_guo
2017-03-23 9:05 ` ren_guo
2017-03-23 9:10 ` Thomas Petazzoni
2017-03-23 9:16 ` ren_guo
2017-03-23 9:23 ` Thomas Petazzoni
2017-03-23 9:32 ` ren_guo
2017-03-23 9:46 ` Thomas Petazzoni
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=20170320224839.6677ccd0@free-electrons.com \
--to=thomas.petazzoni@free-electrons.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.