From: jason@lakedaemon.net (Jason Cooper)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH V2 0/9] impedance-matcher generic improvements
Date: Fri, 2 Aug 2013 15:51:07 +0000 [thread overview]
Message-ID: <cover.1375457714.git.jason@lakedaemon.net> (raw)
In-Reply-To: <51F2A014.7000209@gmail.com>
Daniel,
Here's a new version of my attempt to make this code generically useful. I've
tested this on my dreamplug both using the commandline
'loadaddrs=appended,0x0700000' and appending all kirkwood*.dtb's.
It's still hacky and can't update the dtb yet. But it definitely works.
To make it work for the Raumfeld boards, you'll need to change board-raumfeld.c
to use the proper compatible strings for the boards. Then, in the Makefile,
change your uart address and MFG.
For folks interested in testing:
git://git.infradead.org/users/jcooper/impedance-matcher.git generic
btw - this is the first time I've needed to tinker with linker scripts, so if
it looks wrong, please let me know!
thx,
Jason.
Jason Cooper (9):
add cscope Makefile target
separate common functions from board specific
rename board.c to board-raumfeld.c
s/.name/.compatible/
directly include needed headers
serial: split out 8250 code, configurable reg addr
add generic board code
make appending images/dtbs optional
appended dtbs works!
.gitignore | 2 +-
Makefile | 59 +++++++++++++--------
append_dtbs.sh | 8 +++
atags.h | 10 ++++
board-dreamplug.c | 28 ++++++++++
board-generic.c | 39 ++++++++++++++
board-raumfeld.c | 150 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
board.c | 88 --------------------------------
board.h | 10 ++--
dtbs.c | 36 +++++++++++++
dtbs.h | 6 +++
endian.h | 12 +++++
fdt.h | 64 +++++++++++++++++++++++
led.c | 54 --------------------
led.h | 6 ---
main.c | 47 ++++++++---------
matcher.lds | 8 ++-
print.c | 8 +--
print.h | 2 +
register.c | 11 ++++
register.h | 9 ++++
serial-8250.c | 21 ++++++++
serial.h | 10 ++++
string.c | 99 +++++++++++++++++++++++++++++++++++
string.h | 9 ++++
types.h | 1 +
26 files changed, 590 insertions(+), 207 deletions(-)
create mode 100755 append_dtbs.sh
create mode 100644 board-dreamplug.c
create mode 100644 board-generic.c
create mode 100644 board-raumfeld.c
delete mode 100644 board.c
create mode 100644 dtbs.c
create mode 100644 dtbs.h
create mode 100644 endian.h
create mode 100644 fdt.h
delete mode 100644 led.c
delete mode 100644 led.h
create mode 100644 register.c
create mode 100644 register.h
create mode 100644 serial-8250.c
create mode 100644 serial.h
create mode 100644 string.c
create mode 100644 string.h
--
1.8.3.2
next prev parent reply other threads:[~2013-08-02 15:51 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-04 16:56 Appended DTB files for multi-machine kernels Daniel Mack
2013-07-04 17:11 ` Mark Brown
2013-07-04 21:34 ` Arnd Bergmann
2013-07-04 23:02 ` Daniel Mack
2013-07-05 8:32 ` Magnus Damm
2013-07-04 17:28 ` Nicolas Pitre
2013-07-04 17:57 ` Daniel Mack
2013-07-04 18:27 ` Nicolas Pitre
2013-07-26 16:13 ` Daniel Mack
2013-07-26 16:44 ` Nicolas Pitre
2013-07-29 21:23 ` [RFC PATCH 0/2] impedance-matcher generic improvements Jason Cooper
2013-07-29 21:24 ` [PATCH 1/2] add cscope Makefile target Jason Cooper
2013-07-29 21:24 ` [RFC PATCH 2/2] WIP: Get kernel and dtb addresses from command line Jason Cooper
2013-07-30 7:48 ` [RFC PATCH 0/2] impedance-matcher generic improvements Daniel Mack
2013-07-30 13:17 ` Jason Cooper
2013-07-30 13:37 ` Daniel Mack
2013-07-30 14:42 ` Jason Cooper
2013-08-02 15:51 ` Jason Cooper [this message]
2013-08-02 15:51 ` [RFC PATCH V2 1/9] add cscope Makefile target Jason Cooper
2013-08-02 15:51 ` [RFC PATCH V2 2/9] separate common functions from board specific Jason Cooper
2013-08-02 15:51 ` [RFC PATCH V2 3/9] rename board.c to board-raumfeld.c Jason Cooper
2013-08-02 15:51 ` [RFC PATCH V2 4/9] s/.name/.compatible/ Jason Cooper
2013-08-02 21:52 ` Stephen Warren
2013-08-03 14:07 ` Jason Cooper
2013-08-03 14:16 ` Daniel Mack
2013-08-02 15:51 ` [RFC PATCH V2 5/9] directly include needed headers Jason Cooper
2013-08-02 15:51 ` [RFC PATCH V2 6/9] serial: split out 8250 code, configurable reg addr Jason Cooper
2013-08-02 15:51 ` [RFC PATCH V2 7/9] add generic board code Jason Cooper
2013-08-02 15:51 ` [RFC PATCH V2 8/9] make appending images/dtbs optional Jason Cooper
2013-08-02 15:51 ` [RFC PATCH V2 9/9] appended dtbs works! Jason Cooper
2013-08-02 19:42 ` Nicolas Pitre
2013-08-02 19:54 ` Jason Cooper
2013-08-02 19:57 ` Jason Cooper
2013-08-02 17:53 ` [RFC PATCH V2 0/9] impedance-matcher generic improvements Daniel Mack
2013-08-02 18:43 ` Jason Cooper
2013-08-02 18:46 ` Daniel Mack
2013-07-04 18:36 ` Appended DTB files for multi-machine kernels Dirk Behme
2013-07-05 18:36 ` Stephen Warren
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=cover.1375457714.git.jason@lakedaemon.net \
--to=jason@lakedaemon.net \
--cc=linux-arm-kernel@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;
as well as URLs for NNTP newsgroup(s).