[U-Boot] [RESEND] [PATCH 0/2] kirkwood: Generalise dns325 support, include dns320

Prafulla Wadaskar prafulla at marvell.com
Tue Jul 31 07:51:58 CEST 2012


Dear Jamie Lentin

> -----Original Message-----
> From: Jamie Lentin [mailto:jm at lentin.co.uk]
> Sent: 31 July 2012 03:26
> To: u-boot at lists.denx.de
> Cc: Prafulla Wadaskar; albert.u.boot at aribaud.net;
> uboot at lukaperkov.net; Jamie Lentin
> Subject: [RESEND] [PATCH 0/2] kirkwood: Generalise dns325 support,
> include dns320
> 
> I submitted this a while ago[0], it would be nice to see it included
> if possible. It generalises the DNS325 support so that it can be used
> for both the DNS320 and DNS325.
> 
> Luka Perkov stated "I have no more questions regarding this patch",
> not
> sure if this counts as an ACK. The patch here is ~same, just rebased.
> 
> Somewhat related, I have tried using tools/kwboot to boot both NASes.
> The DNS325 boots fine, however the DNS320 reports:-
> 
> Sending boot message. Please reboot the target...|
> Sending boot image...
>   0 % [+++++++++++++++++xmodem: Bad message
> 
> UART-boot works with kwuartboot, although only when it is killed and
> restarted. If I work out anything interesting will follow it up in
> a separate thread.
> 
> Any feedback appreciated!
> 
> [0] http://thread.gmane.org/gmane.comp.boot-loaders.u-
> boot/130234/focus=130575
> 
> Jamie Lentin (2):
>   kirkwood: Rename dns325 to dnskw
>   kirkwood: Add support for the D-Link DNS-320
> 
>  MAINTAINERS                                        |    4 +
>  board/d-link/{dns325 => dnskw}/Makefile            |    2 +-
>  board/d-link/{dns325/dns325.c => dnskw/dnskw.c}    |   18 +-
>  board/d-link/{dns325/dns325.h => dnskw/dnskw.h}    |   30 ++-
>  board/d-link/dnskw/kwbimage.dns320.cfg             |  207
> ++++++++++++++++++++
>  .../kwbimage.cfg => dnskw/kwbimage.dns325.cfg}     |    0
>  boards.cfg                                         |    3 +-
>  include/configs/{dns325.h => dnskw.h}              |   21 +-
>  8 files changed, 261 insertions(+), 24 deletions(-)
>  rename board/d-link/{dns325 => dnskw}/Makefile (98%)
>  rename board/d-link/{dns325/dns325.c => dnskw/dnskw.c} (90%)
>  rename board/d-link/{dns325/dns325.h => dnskw/dnskw.h} (65%)
>  create mode 100644 board/d-link/dnskw/kwbimage.dns320.cfg

Finally you will two kwbimage files for two  boards being supported.
BTW: I would like to ask : what is a difference between these two files? If it is very small, it can be handled in early_board_init().

In that case you can keep the earlier name kwbimage.cfg as it is and one file can be avoided.

Regards...
Prafulla . . .


More information about the U-Boot mailing list