Skip to contentSkip to conversation

Add Apollon (OMAP24xx) board support (take #2)

PATCH In review Kyungmin Park 2 participants 5 messages Jul 28, 2008 – Aug 2, 2008 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add Apollon (OMAP24xx) board support (take #2)

Add apollon (OMAP24xx) board initial support
with board descriptions

---

Makefile.target +1 -0
index ff105c1..2d124e4 100644
@@ -603,6 +603,7 @@ OBJS+= omap1.o omap_lcdc.o omap_dma.o omap_clk.o omap_mmc.o omap_i2c.o
 OBJS+= omap2.o omap_dss.o soc_dma.o
 OBJS+= palm.o tsc210x.o
 OBJS+= nseries.o blizzard.o onenand.o vga.o cbus.o tusb6010.o usb-musb.o
+OBJS+= apollon.o
 OBJS+= tsc2005.o
 OBJS+= mst_fpga.o mainstone.o
 OBJS+= musicpal.o pflash_cfi02.o
hw/apollon.c new file +299 -0

299 lines not on this page · raw message

hw/boards.h +3 -0
index 22ac332..64c7ae6 100644
@@ -89,6 +89,9 @@ extern QEMUMachine palmte_machine;
 extern QEMUMachine n800_machine;
 extern QEMUMachine n810_machine;
 
+/* apollon.c */
+extern QEMUMachine apollon_machine;
+
 /* gumstix.c */
 extern QEMUMachine connex_machine;
 extern QEMUMachine verdex_machine;
qemu-doc.texi +24 -0
index eb29a9f..2bb30d6 100644
@@ -88,6 +88,7 @@ For system emulation, the following hardware targets are supported:
 @item Arnewsh MCF5206 evaluation board (ColdFire V2).
 @item Palm Tungsten|E PDA (OMAP310 processor)
 @item N800 and N810 tablets (OMAP2420 processor)
+@item Samsung apollon OneNAND board (OMAP2420 processor)
 @item MusicPal (MV88W8618 ARM processor)
 @end itemize
 
@@ -2604,6 +2605,29 @@ Nokia RETU and TAHVO multi-purpose chips with an RTC, connected
 through CBUS
 @end itemize
 
+Samsung Apollon OneNAND development board emulation supports the following elements:
+@itemize @minus
+@item
+Texas Instruments OMAP2420 System-on-chip (ARM 1136 core)
+@item
+RAM and non-volatile OneNAND Flash memories
+@item
+LAN91C96 Ethernet
+@item
+(TODO) Display connected to internal framebuffer chip and OMAP on-chip
+display controller and a Samsung LCD controller
+@item
+(TODO) TI TSC2101 touchscreen controllers driven through SPI bus
+@item
+Secure Digital card connected to OMAP MMC/SD host
+@item
+One OMAP on-chip UARTs
+@item
+(TODO) External USB transceiver chip connected to USB controller embedded in a TI
+@item
+(TODO) Three GPIO switches and GPIO indicate LEDs
+@end itemize
+
 The Luminary Micro Stellaris LM3S811EVB emulation includes the following
 devices:
 
target-arm/machine.c +1 -0
index 42ff584..c92bb15 100644
@@ -14,6 +14,7 @@ void register_machines(void)
     qemu_register_machine(&palmte_machine);
     qemu_register_machine(&n800_machine);
     qemu_register_machine(&n810_machine);
+    qemu_register_machine(&apollon_machine);
     qemu_register_machine(&lm3s811evb_machine);
     qemu_register_machine(&lm3s6965evb_machine);
     qemu_register_machine(&connex_machine);
#1 lore raw
Quoted 2 lines · Kyungmin Park

Add apollon (OMAP24xx) board initial support
with board descriptions

Could provide a work example of booting the board?

I'd to boot u-boot on it.

Best Regards,
J.

#2 lore raw

Hi,

Quoted 8 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 2 lines · Kyungmin Park

Add apollon (OMAP24xx) board initial support
with board descriptions

Could provide a work example of booting the board?

I'd to boot u-boot on it.

The apollon is mainlined board, you can run u-boot and kernel on qemu As now LCD is not supported, you should add -nographic option. I'll add it later :)

Simple example.
1. Download u-boot.
2. make apollon_config
3. qemu-system-arm -M apollon -kernel u-boot.bin -nographic -mtdblock mtdblock ${other options}

Then you can see u-boot boot messages.

Thank you,
Kyungmin Park

#3 lore raw
Quoted 17 lines · Kyungmin Park

Hi,

Quoted 8 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 2 lines · Kyungmin Park

Add apollon (OMAP24xx) board initial support
with board descriptions

Could provide a work example of booting the board?

I'd to boot u-boot on it.

The apollon is mainlined board, you can run u-boot and kernel on qemu As now LCD is not supported, you should add -nographic option. I'll add it later :)

Quoted 5 lines

Simple example.
1. Download u-boot.
2. make apollon_config
3. qemu-system-arm -M apollon -kernel u-boot.bin -nographic -mtdblock mtdblock ${other options}

Normally, u-boot will be store in the onenand is it possible to start it from there with the current qemu implemention?

As example you can start the mips_r4k from the pflash by

1. Download u-boot.
2. make qemu_mips_config
3. create image:

# dd of=flash bs=1k count=4k if=/dev/zero
# dd of=flash bs=1k conv=notrunc if=u-boot.bin
4. start it:
# qemu-system-mips -M mips -pflash flash -monitor null -nographic

Best Regards,
J.

#4 lore raw

Hi,

Quoted 18 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 17 lines · Kyungmin Park

Hi,

Quoted 8 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 2 lines · Kyungmin Park

Add apollon (OMAP24xx) board initial support
with board descriptions

Could provide a work example of booting the board?

I'd to boot u-boot on it.

The apollon is mainlined board, you can run u-boot and kernel on qemu As now LCD is not supported, you should add -nographic option. I'll add it later :)

Quoted 8 lines
Quoted 5 lines

Simple example.
1. Download u-boot.
2. make apollon_config
3. qemu-system-arm -M apollon -kernel u-boot.bin -nographic -mtdblock mtdblock ${other options}

Normally, u-boot will be store in the onenand is it possible to start it from there with the current qemu implemention?

No
It's not yet implemented on OneNAND.

As subject, it's apollon board support patch,
I'll check OneNAND boot support soon

Thank you,
Kyungmin Park