Skip to contentSkip to conversation

Pull request 20130401

PATCH In review Apelete Seketeli 2 participants 5 messages Apr 1, 2013 – Apr 3, 2013

lore
Share & tools
lore
#0 lore raw

cover Pull request 20130401

Hello,

The patches that come as a follow-up of this message add machine support for Qi-Hardware's Ben Nanonote handheld.
The recipes were imported from "oe-classic" and fixed to comply to the rules in oe-core. This work is intended to be used by the JLime distribution which is being ported to oe-core.

The modifications are done on top of the master branch in the meta-handheld layer.
Please pull into the meta-handheld layer.

The following changes since commit a268810f7c2c1f13e01cc02bcddc23c46118551d:

linux-yocto-tiny-kexecboot: add patch fixing mtd on SL-C3200 (2013-03-20 09:23:00 +0000)

are available in the git repository at:

git://seketeli.fr/~apelete/meta-handheld.git add-nanonote

Apelete Seketeli (2):
ben-nanonote: import ben-nanonote machine support
ben-nanonote: clean machine conf according to oe-core rules

 conf/machine/ben-nanonote.conf                     |   29 +
 .../config-ben-nanonote                            | 1301 ++++++++++
 .../jz4740-udc.patch                               | 2561 ++++++++++++++++++++
 .../logo_linux_clut224.tar.gz                      |  Bin 0 -> 8416 bytes
 .../modifier-keys.patch                            |  604 +++++
 .../linux/linux-jlime-ben-nanonote_2.6.36.bb       |   51 +
 6 files changed, 4546 insertions(+)
 create mode 100644 conf/machine/ben-nanonote.conf
 create mode 100644 recipes-kernel/linux/linux-jlime-ben-nanonote-2.6.36/config-ben-nanonote
 create mode 100644 recipes-kernel/linux/linux-jlime-ben-nanonote-2.6.36/jz4740-udc.patch
 create mode 100644 recipes-kernel/linux/linux-jlime-ben-nanonote-2.6.36/logo_linux_clut224.tar.gz
 create mode 100644 recipes-kernel/linux/linux-jlime-ben-nanonote-2.6.36/modifier-keys.patch
 create mode 100644 recipes-kernel/linux/linux-jlime-ben-nanonote_2.6.36.bb
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/2 ben-nanonote: import ben-nanonote machine support

Import Ben Nanonote machine support files from "oe-classic". This is intended to be used by the JLime distribution.

---
 conf/machine/ben-nanonote.conf                     |   32 +
 conf/machine/include/tune-mips32.inc               |    3 +
 .../config-ben-nanonote                            | 1301 ++++++++++
 .../jz4740-udc.patch                               | 2561 ++++++++++++++++++++
 .../logo_linux_clut224.tar.gz                      |  Bin 0 -> 8416 bytes
 .../modifier-keys.patch                            |  604 +++++
 .../linux/linux-jlime-ben-nanonote_2.6.36.bb       |   51 +
 7 files changed, 4552 insertions(+)
 create mode 100644 conf/machine/ben-nanonote.conf
 create mode 100644 conf/machine/include/tune-mips32.inc
 create mode 100644 recipes-kernel/linux/linux-jlime-ben-nanonote-2.6.36/config-ben-nanonote
 create mode 100644 recipes-kernel/linux/linux-jlime-ben-nanonote-2.6.36/jz4740-udc.patch
 create mode 100644 recipes-kernel/linux/linux-jlime-ben-nanonote-2.6.36/logo_linux_clut224.tar.gz
 create mode 100644 recipes-kernel/linux/linux-jlime-ben-nanonote-2.6.36/modifier-keys.patch
 create mode 100644 recipes-kernel/linux/linux-jlime-ben-nanonote_2.6.36.bb
conf/machine/ben-nanonote.conf new file +32 -0
new file mode 100644
index 0000000..e53cb3f
@@ -0,0 +1,32 @@
+#@TYPE: Machine
+#@NAME: Ben Nanonote
+#@DESCRIPTION: Machine configuration for the Qi-Hardware's Ben Nanonote
+
+TARGET_ARCH = "mipsel"
+require conf/machine/include/tune-mips32.inc
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-jlime-ben-nanonote"
+
+# With 2.6.37 there is not yet uImage target (pending patches)
+#KERNEL_IMAGETYPE = "uImage"
+KERNEL_IMAGETYPE = "vmlinux.bin"
+
+IMAGE_FSTYPES =+ "jffs2"
+
+PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
+PREFERRED_VERSION_xserver-kdrive = "1.3.0.0"
+
+XSERVER = "xserver-kdrive-fbdev"
+
+#ScreenInfo
+MACHINE_GUI_CLASS = "smallscreen"
+MACHINE_DISPLAY_WIDTH_PIXELS = "320"
+MACHINE_DISPLAY_HEIGHT_PIXELS = "240"
+LOGO_SIZE = "qvga"
+
+##################################
+# build kexecboot kernel while
+# making sure rootfs is compatible
+##################################
+
+# require conf/machine/include/initramfs-kexecboot.inc
conf/machine/include/tune-mips32.inc new file +3 -0
new file mode 100644
index 0000000..67edca2
@@ -0,0 +1,3 @@
+TARGET_CC_ARCH = "-march=mips32"
+FEED_ARCH = "${TARGET_ARCH}"
+BASE_PACKAGE_ARCH = "${TARGET_ARCH}"
recipes-kernel/linux/linux-jlime-ben-nanonote-2.6.36/config-ben-nanonote new file +1301 -0

1,301 lines not on this page · raw message

recipes-kernel/linux/linux-jlime-ben-nanonote-2.6.36/jz4740-udc.patch new file +2561 -0

1,664 lines not on this page · raw message

recipes-kernel/linux/linux-jlime-ben-nanonote-2.6.36/logo_linux_clut224.tar.gz new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..06de727a05c99d3e487982ee007d710c0bc11162
GIT binary patch
recipes-kernel/linux/linux-jlime-ben-nanonote-2.6.36/modifier-keys.patch new file +604 -0

604 lines not on this page · raw message

recipes-kernel/linux/linux-jlime-ben-nanonote_2.6.36.bb new file +51 -0

51 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.7.10.4

Part of the diff is not shown here. View the raw message.

#2 lore raw

PATCH 2/2 ben-nanonote: clean machine conf according to oe-core rules

In reply to Apelete Seketeli

The following changes were done to comply with oe-core rules:
- use DEFAULTTUNE from conf/machine/include/tune-mips32.inc in oe-core repository instead of setting TARGET_ARCH,
- remove IMAGE_FSTYPES setting, this is done in distro configuration.

---
 conf/machine/ben-nanonote.conf       |    3 ---
 conf/machine/include/tune-mips32.inc |    3 ---
 2 files changed, 6 deletions(-)
 delete mode 100644 conf/machine/include/tune-mips32.inc
conf/machine/ben-nanonote.conf +0 -3
index e53cb3f..1ce5815 100644
@@ -2,7 +2,6 @@
 #@NAME: Ben Nanonote
 #@DESCRIPTION: Machine configuration for the Qi-Hardware's Ben Nanonote
 
-TARGET_ARCH = "mipsel"
 require conf/machine/include/tune-mips32.inc
 
 PREFERRED_PROVIDER_virtual/kernel = "linux-jlime-ben-nanonote"
@@ -11,8 +10,6 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-jlime-ben-nanonote"
 #KERNEL_IMAGETYPE = "uImage"
 KERNEL_IMAGETYPE = "vmlinux.bin"
 
-IMAGE_FSTYPES =+ "jffs2"
-
 PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
 PREFERRED_VERSION_xserver-kdrive = "1.3.0.0"
 
conf/machine/include/tune-mips32.inc deleted +0 -3
deleted file mode 100644
index 67edca2..0000000
@@ -1,3 +0,0 @@
-TARGET_CC_ARCH = "-march=mips32"
-FEED_ARCH = "${TARGET_ARCH}"
-BASE_PACKAGE_ARCH = "${TARGET_ARCH}"
Signature · 1 line
1.7.10.4
#3 lore raw
In reply to Apelete Seketeli
Quoted 15 lines · On Monday 01 April 2013 11:13:24 Apelete Seketeli wrote:

The patches that come as a follow-up of this message add machine support for Qi-Hardware's Ben Nanonote handheld.
The recipes were imported from "oe-classic" and fixed to comply to the rules in oe-core. This work is intended to be used by the JLime distribution which is being ported to oe-core.

The modifications are done on top of the master branch in the meta-handheld layer.
Please pull into the meta-handheld layer.

The following changes since commit a268810f7c2c1f13e01cc02bcddc23c46118551d:

linux-yocto-tiny-kexecboot: add patch fixing mtd on SL-C3200 (2013-03-20
09:23:00 +0000)

Quoted 7 lines

are available in the git repository at:

git://seketeli.fr/~apelete/meta-handheld.git add-nanonote

Apelete Seketeli (2):
ben-nanonote: import ben-nanonote machine support
ben-nanonote: clean machine conf according to oe-core rules

Merged these two squashed into commit (as discussed on IRC) - thanks!

FYI you may be able to consider a switch away from kdrive since xorg is a lot slimmer these days and is actually maintained, but I'll leave that up to you.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#4 lore raw
Quoted 20 lines · Paul Eggleton
Quoted 19 lines · On Monday 01 April 2013 11:13:24 Apelete Seketeli wrote:

The patches that come as a follow-up of this message add machine support for Qi-Hardware's Ben Nanonote handheld.
The recipes were imported from "oe-classic" and fixed to comply to the rules in oe-core. This work is intended to be used by the JLime distribution which is being ported to oe-core.

The modifications are done on top of the master branch in the meta-handheld layer.
Please pull into the meta-handheld layer.

The following changes since commit a268810f7c2c1f13e01cc02bcddc23c46118551d:

linux-yocto-tiny-kexecboot: add patch fixing mtd on SL-C3200 (2013-03-20
09:23:00 +0000)

are available in the git repository at:

git://seketeli.fr/~apelete/meta-handheld.git add-nanonote

Quoted 8 lines
Quoted 3 lines

Apelete Seketeli (2):
ben-nanonote: import ben-nanonote machine support
ben-nanonote: clean machine conf according to oe-core rules

Merged these two squashed into commit (as discussed on IRC) - thanks!

FYI you may be able to consider a switch away from kdrive since xorg is a lot slimmer these days and is actually maintained, but I'll leave that up to you.

Thanks for the merge, I will consider xorg when the time comes (still got a lot of work before getting JLime to build on oe-core).

Cheers.

Signature · 1 line
        Apelete