Skip to contentSkip to conversation

IMote2 machine config

PATCH Superseded Jonathan Cameron 3 participants 6 messages Nov 4, 2009 – Mar 27, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 IMote2 machine config

---
 conf/machine/imote2.conf |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
conf/machine/imote2.conf new file +15 -0
new file mode 100644
index 0000000..278fd71
@@ -0,0 +1,15 @@
+TARGET_ARCH= "arm"
+require conf/machine/include/tune-xscale.inc
+KERNEL_IMAGETYPE="zImage"
+IMAGE_FSTYPE="jffs2"
+EXTRA_IMAGECMD_jffs2 = "--little-endian -e 0x40000 --pad=0x01DC0000 --eraseblock=0x20000"
+MACHINE_FEATURES ="kernel26 usbgadget"
+CMDLINE="root=/dev/mtdblock2 rootfstype=jffs2 console=ttyS2,115200 mem=32M"
+
+# used by sysvinit_2
+SERIAL_CONSOLE = "115200 ttyS2"
+
+ROOT_FLASH_SIZE = "30"
+MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
+
+RDEPENDS_kernel-base = ""
Signature · 1 line
1.6.0.4
#1 lore raw

Dnia środa, 4 listopada 2009 o 20:59:22 Jonathan Cameron napisał(a):

Quoted 1 line

+MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"

You install all kernel modules into rootfs so it looks like you do not need to specify all of selected ones in imote2-image recipe.

Please also add some description of device and URL to vendor page.

Regards,

Signature · 3 lines
JID:      [email protected]
Website:  http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
#2 lore raw
Quoted 6 lines · Marcin Juszkiewicz

Dnia środa, 4 listopada 2009 o 20:59:22 Jonathan Cameron napisał(a):

Quoted 1 line

+MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"

You install all kernel modules into rootfs so it looks like you do not need to specify all of selected ones in imote2-image recipe.

Hmm.. something odd is going on then, because they aren't all turning up in the image. Will look into it later.

Quoted 1 line

Please also add some description of device and URL to vendor page.

Will do.

Thanks

Jonathan

#3 lore raw

PATCH v2 1/1 IMote2 machine config

---
Only change is to provide some info about the board.

 conf/machine/imote2.conf |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)
 create mode 100644 conf/machine/imote2.conf
conf/machine/imote2.conf new file +23 -0
new file mode 100644
index 0000000..7f94f29
@@ -0,0 +1,23 @@
+#-----------------------------------------------------------------------------
+#@TYPE: Machine
+#@NAME: IMote2
+#@DESCRIPTION: Machine configuration for the IMote2
+#              http://imote2-linux.sourceforge.net
+#-----------------------------------------------------------------------------
+
+
+TARGET_ARCH= "arm"
+require conf/machine/include/tune-xscale.inc
+KERNEL_IMAGETYPE="zImage"
+IMAGE_FSTYPE="jffs2"
+EXTRA_IMAGECMD_jffs2 = "--little-endian -e 0x40000 --pad=0x01DC0000 --eraseblock=0x20000"
+MACHINE_FEATURES ="kernel26 usbgadget"
+CMDLINE="root=/dev/mtdblock2 rootfstype=jffs2 console=ttyS2,115200 mem=32M"
+
+# used by sysvinit_2
+SERIAL_CONSOLE = "115200 ttyS2"
+
+ROOT_FLASH_SIZE = "30"
+MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
+
+RDEPENDS_kernel-base = ""
Signature · 1 line
1.6.4.4
#4 lore raw

Hello.

Quoted 4 lines · Jonathan Cameron

---
Only change is to provide some info about the board.

As you know I'm also working on the iMote2 platform now. I pushed in a machine file some weeks ago and totally missed this patchset. Sorry.

I'll go through the patches the next days and merge things together so we have good support in OE for the iMote2. If you have any outstanding or refreshed patches please send them in. Sorry again for not having seen this earlier.

regards
Stefan Schmidt

#5 lore raw

Hello.

Quoted 7 lines · Stefan Schmidt
Quoted 4 lines · Jonathan Cameron

---
Only change is to provide some info about the board.

Quoted 6 lines

As you know I'm also working on the iMote2 platform now. I pushed in a machine file some weeks ago and totally missed this patchset. Sorry.

I'll go through the patches the next days and merge things together so we have good support in OE for the iMote2. If you have any outstanding or refreshed patches please send them in. Sorry again for not having seen this earlier.

I should have merged all relevant parts of your config into the one in OE now. For the other patches I'll wait for a rebased patchset before workign through them.

regards
Stefan Schmidt