Gumstix verdex support
PATCH 1/1 Gumstix verdex support
Patch to add gumstix verdex board support.
Index: vl.c
===================================================================
RCS file: /sources/qemu/qemu/vl.c,v
retrieving revision 1.365
vl.c +1 -0
@@ -7451,6 +7451,7 @@qemu_register_machine (&lm3s811evb_machine);qemu_register_machine (&lm3s6965evb_machine);qemu_register_machine (&connex_machine); +qemu_register_machine (&verdex_machine);#elif defined(TARGET_SH4 )qemu_register_machine (&shix_machine);qemu_register_machine (&r2d_machine);
Index: hw/boards.h
===================================================================
RCS file: /sources/qemu/qemu/hw/boards.h,v
retrieving revision 1.1
boards.h +1 -0
@@ -77,6 +77,7 @@/* gumstix.c */ extern QEMUMachine connex_machine; +extern QEMUMachine verdex_machine;/* stellaris.c */ extern QEMUMachine lm3s811evb_machine;
Index: hw/gumstix.c
===================================================================
RCS file: /sources/qemu/qemu/hw/gumstix.c,v
retrieving revision 1.3
gumstix.c +72 -16
129 lines not on this page · raw message
Hi,
Quoted 1 line · Thorsten Zitterell
Patch to add gumstix verdex board support.
The code has:
+ /* Interrupt line of NIC is connected to GPIO line 49 */
+ smc91c111_init(&nd_table[0], 0x04000300,
+ pxa2xx_gpio_in_get(cpu->gpio)[99]);
Should it be 49 or 99?
Regarding the usage example, I think not many people will look into the code for this kind of information, it would be of more use in the mailing list archives and optionally the docs.
Do these boards have an LCD? If not, you can pass NULL as the "ds" parameter to pxa2xx_init() I think (not tested). I see that -nographic is used in both examples.
Regards,
Andrew
Hi.
Quoted 10 lines · andrzej zaborowski
Quoted 1 line · Thorsten Zitterell
Patch to add gumstix verdex board support.
The code has:
gumstix.c +3
-0+/* Interrupt line of NIC is connected to GPIO line 49 */ +smc91c111_init (&nd_table[0 ],0x04000300 , +pxa2xx_gpio_in_get (cpu->gpio)[99 ]);Should it be 49 or 99?
99 is right.
Quoted 3 lines
Regarding the usage example, I think not many people will look into the code for this kind of information, it would be of more use in the mailing list archives and optionally the docs.
I will give better documentation and provide example images for the docs soon.
Quoted 3 lines
Do these boards have an LCD? If not, you can pass NULL as the "ds" parameter to
pxa2xx_init()I think (not tested). I see that -nographic is used in both examples.
There are optional LCDs for both connex and verdex boards. I do not have one so I could not test how they are supposed to work on the real hardware. However, booting a Gumstix image in QEMU shows graphical output with the company logo when not using "-nographic".
--
Thorsten