[U-Boot] [PATCH 0/6] iPAQ h2200 support

Marek Vasut marex at denx.de
Thu Sep 20 01:10:42 CEST 2012


Dear Łukasz Dałek,

> This is set of patches adding support for iPAQ h2200 device
> 
> Ad. [PATCH 1/6] h2200: Add support for iPAQ h2200
> I've added device id to the mach-types.h file. But I'm pretty
> sure this is the bad way. The id I took from
> http://www.arm.linux.org.uk/developer/machines/list.php?id=341
> 
> Device's 1st stage bootloader requires from 2nd stage loader
> specific header which I've defined in file h2200-header.S.
> For now it is build to h2200-header.bin which has to be concatenated
> with u-boot.bin (cat h2200-header.bin u-boot.bin > u-boot.rdy).
> I don't know how I can do this another way.

Via some basic-level linker voodoo.

> One more, can I add to device folder

directory, this is unix

> program which generates packed
> binary with header which device's rescue bootloader can flash
> into memory?

Show the code, we'll tell you. You usually use mkimage-plugin-stuffs to do this.

> Ad. [PATCH 3/6] pxa: Add some stuff to examine cpu model and rev
> This patch shuld be already in pxa tree but it's not. Maybe I
> overlooked or sth. If so I'm sorry for sending it again.
> 
> Łukasz Dałek (6):
>   h2200: Add support for iPAQ h2200
>   pxa25x: Add USB Ethernet driver
>   pxa: Add some stuff to examine cpu model and rev
>   usbether: Fixed bug when using with PXA25X chips
>   usbether: Define CONFIG_USB_ETH_{CDC,SUBSET}
>   usbether: Removed DEV_CONFIG_{CDC,SUBSET}
> 
>  arch/arm/cpu/pxa/cpuinfo.c          |   11 +-
>  arch/arm/include/asm/arch-pxa/pxa.h |   13 +
>  arch/arm/include/asm/mach-types.h   |    1 +
>  board/h2200/Makefile                |   51 +
>  board/h2200/h2200-header.S          |   27 +
>  board/h2200/h2200.c                 |  197 ++++
>  board/h2200/h2200.h                 |   28 +
>  boards.cfg                          |    2 +
>  drivers/usb/gadget/Makefile         |    1 +
>  drivers/usb/gadget/ether.c          |   69 +-
>  drivers/usb/gadget/pxa25x_udc.c     | 2059
> +++++++++++++++++++++++++++++++++++ drivers/usb/gadget/pxa25x_udc.h     | 
> 162 +++
>  include/configs/h2200.h             |  168 +++
>  13 files changed, 2757 insertions(+), 32 deletions(-)
>  create mode 100644 board/h2200/Makefile
>  create mode 100644 board/h2200/h2200-header.S
>  create mode 100644 board/h2200/h2200.c
>  create mode 100644 board/h2200/h2200.h
>  create mode 100644 drivers/usb/gadget/pxa25x_udc.c
>  create mode 100644 drivers/usb/gadget/pxa25x_udc.h
>  create mode 100644 include/configs/h2200.h

Best regards,
Marek Vasut


More information about the U-Boot mailing list