RFC archosg9: add support for tablet
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest7 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | Improved an error message and solved a minor bugarch/ drivers/ | +2 | 1 reply | |
| 2/7 | added debug info for twl6030drivers/ include/ | +21 | 0 replies | |
| 3/7 | OMAP specific changesarch/ arch/ arch/ +1 more | +70 | 1 reply | |
| 4/7 | Add USB booting capabilities to OMAParch/ arch/ arch/ +8 more | +1197 | 3 replies | |
| 5/7 | add console support over the same USB used for bootingdrivers/ drivers/ drivers/ | +72 | 0 replies | |
| 6/7 | add filesystem support over the same USB used for bootingfs/ fs/ fs/ | +201 | 0 replies | |
| 7/7 | Add support for Archos G9 tabletarch/ arch/ arch/ +8 more | +537 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] [RFC][PATCH] archosg9: add support for tablet
Hello,
A this is my first contribution, so I'm basically requesting for comments.
The attached patch adds support for Archos G9 tablet wich uses an OMAP4460 cpu.
The tablet by default only boots from internal flash, so to test barebox on it a hardware tweak is required: change the sys_boot configuration. Once done the tablet can be booted with the following command:
A sudo scripts/usbboot <first_stage> <rootfs>
The patch contains
A 1.- specific changes for OMAP4460
A 2.- support for usb-booting
A 3.- support for console on usb
A 4.- support for file transfer through usb
A 5.- some minor bug fixes
A 6.- adds support for archosg9 board
A question I have is what does omap_vector_init do?
It breaks usb-booting.
An improvement to be done would be to split the file "scripts/usbboot.c" into a header and two c files, but the Makefile framework seemed to me to do not allow that.
In any case the patch should be tested with other boards to check it does not breaks something.
vj (7):
Improved an error message and solved a minor bug added debug info for twl6030
OMAP specific changes
Add USB booting capabilities to OMAP
add console support over the same USB used for booting add filesystem support over the same USB used for booting Add support for Archos G9 tablet
arch/arm/Makefile | 1 + arch/arm/boards/archosg9/Makefile | 1 + arch/arm/boards/archosg9/board.c | 58 ++ arch/arm/boards/archosg9/env/bin/init | 18 + arch/arm/boards/archosg9/env/config | 2 + arch/arm/boards/archosg9/lowlevel.c | 126 ++++ arch/arm/boards/archosg9/mux.c | 226 +++++++ arch/arm/configs/archosg9_defconfig | 70 +++ arch/arm/configs/archosg9_xload_defconfig | 25 + arch/arm/cpu/cpu.c | 1 + arch/arm/lib/armlinux.c | 2 +- arch/arm/lib/barebox.lds.S | 10 + arch/arm/mach-omap/Kconfig | 30 + arch/arm/mach-omap/Makefile | 1 + arch/arm/mach-omap/include/mach/omap4-mux.h | 80 ++- arch/arm/mach-omap/include/mach/omap4-silicon.h | 13 + arch/arm/mach-omap/include/mach/omap4_rom_usb.h | 146 +++++ arch/arm/mach-omap/include/mach/xload.h | 1 + arch/arm/mach-omap/omap4_generic.c | 6 + arch/arm/mach-omap/omap4_rom_usb.c | 189 ++++++ arch/arm/mach-omap/xload.c | 26 + arch/arm/tools/mach-types | 1 + drivers/mci/omap_hsmmc.c | 2 +- drivers/mfd/twl6030.c | 13 + drivers/serial/Kconfig | 7 + drivers/serial/Makefile | 1 + drivers/serial/serial_usb.c | 64 ++ fs/Kconfig | 5 + fs/Makefile | 1 + fs/usbbootfs.c | 195 ++++++ include/mfd/twl6030.h | 8 + scripts/.gitignore | 1 + scripts/Makefile | 3 + scripts/usbboot.c | 797 ++++++++++++++++++++++++ 34 files changed, 2100 insertions(+), 30 deletions(-) create mode 100644 arch/arm/boards/archosg9/Makefile create mode 100644 arch/arm/boards/archosg9/board.c create mode 100644 arch/arm/boards/archosg9/env/bin/init create mode 100644 arch/arm/boards/archosg9/env/config create mode 100644 arch/arm/boards/archosg9/lowlevel.c create mode 100644 arch/arm/boards/archosg9/mux.c create mode 100644 arch/arm/configs/archosg9_defconfig create mode 100644 arch/arm/configs/archosg9_xload_defconfig create mode 100644 arch/arm/mach-omap/include/mach/omap4_rom_usb.h create mode 100644 arch/arm/mach-omap/omap4_rom_usb.c create mode 100644 drivers/serial/serial_usb.c create mode 100644 fs/usbbootfs.c create mode 100644 scripts/usbboot.c
Signature · 7 lines
1.7.12.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox