Skip to contentSkip to conversation

BUG 2.0 support backporting

PATCH In review Marcin Juszkiewicz 3 participants 9 messages Mar 22, 2010 – Mar 23, 2010

lore
Share & tools
lore
#0 lore raw

We are still using stable/2009 for our work. Our current device (BUG 2.0) was added into .dev some time ago and I want to merge components which do not change into stable.

#1 lore raw

PATCH 1/1 bug20: initial configuration for BUG 2.0 device

From: Marcin Juszkiewicz <[email protected]>

Currently it is at prototype phase so company internal only.

Kernel recipe will not be added into OE for now.

---
 conf/machine/bug20.conf |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 47 insertions(+), 0 deletions(-)
 create mode 100644 conf/machine/bug20.conf
conf/machine/bug20.conf new file +47 -0
new file mode 100644
index 0000000..dbc1faf
@@ -0,0 +1,47 @@
+#@TYPE: Machine
+#@NAME: BUG 2.0
+#@DESCRIPTION: Machine configuration for the BUG 2.0 board (OMAP3530 based)
+TARGET_ARCH = "arm"
+
+PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
+XSERVER = "xserver-xorg \
+           xserver-xorg-extension-dri \
+           xserver-xorg-extension-glx \
+           xf86-input-evdev \
+           xf86-input-mouse \
+           xf86-video-omapfb \
+           xf86-input-keyboard"
+
+# Only has DVI connector for external screen
+GUI_MACHINE_CLASS = "bigscreen"
+
+require conf/machine/include/omap3.inc
+
+# this kernel is not provided in OE yet
+PREFERRED_PROVIDER_virtual/kernel = "linux-omap-hah"
+
+IMAGE_FSTYPES += "tar.bz2"
+
+SERIAL_CONSOLE = "115200 ttyS2"
+
+UBOOT_MACHINE = "omap3_bug_config"
+
+# do ubiattach /dev/ubi_ctrl -m 4
+# From dmesg:
+# UBI: smallest flash I/O unit:    2048
+# UBI: logical eraseblock size:    129024 bytes
+# from ubiattach stdout:
+# UBI device number 0, total 1996 LEBs
+MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
+
+# do ubiattach /dev/ubi_ctrl -m 4
+# from dmesg:
+# UBI: smallest flash I/O unit:    2048
+# UBI: physical eraseblock size:   131072 bytes (128 KiB)
+# UBI: sub-page size:              512
+UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
+
+PREFERRED_VERSION_u-boot = "git"
+
+# and sdio
+MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"
Signature · 1 line
1.7.0.2
Acked-by on v1 1/1
#2 lore raw

Re: [PATCH][STABLE] bug20: initial configuration for BUG 2.0 device

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 55 lines · Marcin Juszkiewicz

From: Marcin Juszkiewicz <[email protected]>

Currently it is at prototype phase so company internal only.

Kernel recipe will not be added into OE for now.

---
 conf/machine/bug20.conf |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 47 insertions(+), 0 deletions(-)
 create mode 100644 conf/machine/bug20.conf
conf/machine/bug20.conf new file +37 -0
new file mode 100644
index 0000000..dbc1faf
@@ -0,0 +1,47 @@
+#@TYPE: Machine
+#@NAME: BUG 2.0
+#@DESCRIPTION: Machine configuration for the BUG 2.0 board (OMAP3530 based)
+TARGET_ARCH = "arm"
+
+PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
+XSERVER = "xserver-xorg \
+           xserver-xorg-extension-dri \
+           xserver-xorg-extension-glx \
+           xf86-input-evdev \
+           xf86-input-mouse \
+           xf86-video-omapfb \
+           xf86-input-keyboard"
+
+# Only has DVI connector for external screen
+GUI_MACHINE_CLASS = "bigscreen"
+
+require conf/machine/include/omap3.inc
+
+# this kernel is not provided in OE yet
+PREFERRED_PROVIDER_virtual/kernel = "linux-omap-hah"
+
+IMAGE_FSTYPES += "tar.bz2"
+
+SERIAL_CONSOLE = "115200 ttyS2"
+
+UBOOT_MACHINE = "omap3_bug_config"
+
+# do ubiattach /dev/ubi_ctrl -m 4
+# From dmesg:
+# UBI: smallest flash I/O unit:    2048
+# UBI: logical eraseblock size:    129024 bytes
+# from ubiattach stdout:
+# UBI device number 0, total 1996 LEBs
+MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
+
+# do ubiattach /dev/ubi_ctrl -m 4

conf/machine/bug20.conf line 47

Quoted 10 lines
conf/machine/bug20.conf new file +10 -0
+# from dmesg:
+# UBI: smallest flash I/O unit:    2048
+# UBI: physical eraseblock size:   131072 bytes (128 KiB)
+# UBI: sub-page size:              512
+UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
+
+PREFERRED_VERSION_u-boot = "git"
+
+# and sdio
+MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLp2OLMkyGM64RGpERAgSnAJ4iHpasztm7jKhA5/UXPuvmxoh7RACgs67R 5kwxSjQ5Ntvj0eBLZUz3YAQ=
=eJTo
-----END PGP SIGNATURE-----

Acked-by on v1 1/1
#3 lore raw

Re: [PATCH][STABLE] bug20: initial configuration for BUG 2.0 device

In reply to Marcin Juszkiewicz
Quoted 65 lines · Marcin Juszkiewicz

From: Marcin Juszkiewicz<[email protected]>

Currently it is at prototype phase so company internal only.

Kernel recipe will not be added into OE for now.

---
  conf/machine/bug20.conf |   47 +++++++++++++++++++++++++++++++++++++++++++++++
  1 files changed, 47 insertions(+), 0 deletions(-)

create mode 100644 conf/machine/bug20.conf

conf/machine/bug20.conf new file +47 -0
new file mode 100644
index 0000000..dbc1faf
@@ -0,0 +1,47 @@
+#@TYPE: Machine
+#@NAME: BUG 2.0
+#@DESCRIPTION: Machine configuration for the BUG 2.0 board (OMAP3530 based)
+TARGET_ARCH = "arm"
+
+PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
+XSERVER = "xserver-xorg \
+           xserver-xorg-extension-dri \
+           xserver-xorg-extension-glx \
+           xf86-input-evdev \
+           xf86-input-mouse \
+           xf86-video-omapfb \
+           xf86-input-keyboard"
+
+# Only has DVI connector for external screen
+GUI_MACHINE_CLASS = "bigscreen"
+
+require conf/machine/include/omap3.inc
+
+# this kernel is not provided in OE yet
+PREFERRED_PROVIDER_virtual/kernel = "linux-omap-hah"
+
+IMAGE_FSTYPES += "tar.bz2"
+
+SERIAL_CONSOLE = "115200 ttyS2"
+
+UBOOT_MACHINE = "omap3_bug_config"
+
+# do ubiattach /dev/ubi_ctrl -m 4
+# From dmesg:
+# UBI: smallest flash I/O unit:    2048
+# UBI: logical eraseblock size:    129024 bytes
+# from ubiattach stdout:
+# UBI device number 0, total 1996 LEBs
+MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
+
+# do ubiattach /dev/ubi_ctrl -m 4
+# from dmesg:
+# UBI: smallest flash I/O unit:    2048
+# UBI: physical eraseblock size:   131072 bytes (128 KiB)
+# UBI: sub-page size:              512
+UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
+
+PREFERRED_VERSION_u-boot = "git"
+
+# and sdio
+MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"
#4 lore raw

PATCH 1/1 netbase: add BUG 2.0 support

In reply to Marcin Juszkiewicz

From: Marcin Juszkiewicz <[email protected]>

---
 recipes/netbase/netbase/bug20/hosts      |    3 +++
 recipes/netbase/netbase/bug20/interfaces |   29 +++++++++++++++++++++++++++++
 recipes/netbase/netbase_4.21.bb          |    2 +-
 3 files changed, 33 insertions(+), 1 deletions(-)
 create mode 100644 recipes/netbase/netbase/bug20/hosts
 create mode 100644 recipes/netbase/netbase/bug20/interfaces
recipes/netbase/netbase/bug20/hosts new file +3 -0
new file mode 100644
index 0000000..789d660
@@ -0,0 +1,3 @@
+127.0.0.1	localhost.localdomain		localhost	bug
+10.10.10.1	bughost
+
recipes/netbase/netbase/bug20/interfaces new file +29 -0
new file mode 100644
index 0000000..6e5f74e
@@ -0,0 +1,29 @@
+# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
+ 
+# The loopback interface
+auto lo
+iface lo inet loopback
+
+# Ethernet/RNDIS gadget (g_ether)
+# usbnet and static hwaddr for mac users
+auto usb0
+iface usb0 inet static
+	hwaddress ether A2:80:F4:8A:3C:91
+	address 10.10.10.10 
+	netmask 255.255.255.0
+	gateway 10.10.10.1 
+
+# Wired interface
+# BUGbase Ethernet which is built into kernel
+# It is on USB but we rename it by udev rule
+auto eth0
+iface eth0 inet dhcp
+
+#
+# wireless interface
+auto eth1
+iface eth1 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+	wpa-driver wext
+	wpa-conf /etc/wpa_supplicant.conf
recipes/netbase/netbase_4.21.bb +1 -1
index c8b4d19..04d9623 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "This package provides the necessary \
 infrastructure for basic TCP/IP based networking."
 SECTION = "base"
 LICENSE = "GPL"
-PR = "r37"
+PR = "r41"
 
 inherit update-rc.d
 
Signature · 1 line
1.7.0.2
Acked-by on v1 1/1
#5 lore raw

Re: [PATCH][STABLE] netbase: add BUG 2.0 support

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 60 lines · Marcin Juszkiewicz

From: Marcin Juszkiewicz <[email protected]>

---
 recipes/netbase/netbase/bug20/hosts      |    3 +++
 recipes/netbase/netbase/bug20/interfaces |   29 +++++++++++++++++++++++++++++
 recipes/netbase/netbase_4.21.bb          |    2 +-
 3 files changed, 33 insertions(+), 1 deletions(-)
 create mode 100644 recipes/netbase/netbase/bug20/hosts
 create mode 100644 recipes/netbase/netbase/bug20/interfaces
recipes/netbase/netbase/bug20/hosts new file +3 -0
new file mode 100644
index 0000000..789d660
@@ -0,0 +1,3 @@
+127.0.0.1	localhost.localdomain		localhost	bug
+10.10.10.1	bughost
+
recipes/netbase/netbase/bug20/interfaces new file +29 -0
new file mode 100644
index 0000000..6e5f74e
@@ -0,0 +1,29 @@
+# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
+ 
+# The loopback interface
+auto lo
+iface lo inet loopback
+
+# Ethernet/RNDIS gadget (g_ether)
+# usbnet and static hwaddr for mac users
+auto usb0
+iface usb0 inet static
+	hwaddress ether A2:80:F4:8A:3C:91
+	address 10.10.10.10 
+	netmask 255.255.255.0
+	gateway 10.10.10.1 
+
+# Wired interface
+# BUGbase Ethernet which is built into kernel
+# It is on USB but we rename it by udev rule
+auto eth0
+iface eth0 inet dhcp
+
+#
+# wireless interface
+auto eth1
+iface eth1 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+	wpa-driver wext
+	wpa-conf /etc/wpa_supplicant.conf
recipes/netbase/netbase_4.21.bb +0 -0
index c8b4d19..04d9623 100644

recipes/netbase/netbase_4.21.bb DESCRIPTION = "This package provides the necessary \ · line 8

Quoted 8 lines
recipes/netbase/netbase_4.21.bb +1 -1
@@ -2,7 +2,7 @@ DESCRIPTION = "This package provides the necessary \
 infrastructure for basic TCP/IP based networking."
 SECTION = "base"
 LICENSE = "GPL"
-PR = "r37"
+PR = "r41"
 
 inherit update-rc.d
 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLp2N2MkyGM64RGpERAn5XAKCHnQQ6XeDM0Qhty+F383FM/0/jDgCgqPBO B57ODgJU0cs/fzmpqyKXxVQ=
=wlyu
-----END PGP SIGNATURE-----

Acked-by on v1 1/1
#6 lore raw

Re: [PATCH][STABLE] netbase: add BUG 2.0 support

In reply to Marcin Juszkiewicz
Quoted 68 lines · Marcin Juszkiewicz

From: Marcin Juszkiewicz<[email protected]>

---
  recipes/netbase/netbase/bug20/hosts      |    3 +++
  recipes/netbase/netbase/bug20/interfaces |   29 +++++++++++++++++++++++++++++
  recipes/netbase/netbase_4.21.bb          |    2 +-
  3 files changed, 33 insertions(+), 1 deletions(-)

create mode 100644 recipes/netbase/netbase/bug20/hosts create mode 100644 recipes/netbase/netbase/bug20/interfaces

recipes/netbase/netbase/bug20/hosts new file +3 -0
new file mode 100644
index 0000000..789d660
@@ -0,0 +1,3 @@
+127.0.0.1	localhost.localdomain		localhost	bug
+10.10.10.1	bughost
+
recipes/netbase/netbase/bug20/interfaces new file +29 -0
new file mode 100644
index 0000000..6e5f74e
@@ -0,0 +1,29 @@
+# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
+
+# The loopback interface
+auto lo
+iface lo inet loopback
+
+# Ethernet/RNDIS gadget (g_ether)
+# usbnet and static hwaddr for mac users
+auto usb0
+iface usb0 inet static
+	hwaddress ether A2:80:F4:8A:3C:91
+	address 10.10.10.10
+	netmask 255.255.255.0
+	gateway 10.10.10.1
+
+# Wired interface
+# BUGbase Ethernet which is built into kernel
+# It is on USB but we rename it by udev rule
+auto eth0
+iface eth0 inet dhcp
+
+#
+# wireless interface
+auto eth1
+iface eth1 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+	wpa-driver wext
+	wpa-conf /etc/wpa_supplicant.conf
recipes/netbase/netbase_4.21.bb +1 -1
index c8b4d19..04d9623 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "This package provides the necessary \
  infrastructure for basic TCP/IP based networking."
  SECTION = "base"
  LICENSE = "GPL"
-PR = "r37"
+PR = "r41"
 
  inherit update-rc.d
 
#7 lore raw

PATCH 1/1 xserver-xorg-conf: provide working setup for BUG 2.0

In reply to Marcin Juszkiewicz

From: Marcin Juszkiewicz <[email protected]>

Copied from BeagleBoard one.

---
 recipes/xorg-xserver/xserver-xorg-conf_0.1.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
recipes/xorg-xserver/xserver-xorg-conf_0.1.bb +1 -1
index 617eee6..1be87b1 100644
@@ -1,5 +1,5 @@
 DESCRIPTION = "Machine specific xorg.conf files"
-PR = "r5"
+PR = "r21"
 
 SRC_URI = "file://xorg.conf"
 
Signature · 1 line
1.7.0.2
Acked-by on v1 1/1
#8 lore raw

Re: [PATCH][STABLE] xserver-xorg-conf: provide working setup for BUG 2.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 14 lines · Marcin Juszkiewicz

From: Marcin Juszkiewicz <[email protected]>

Copied from BeagleBoard one.

---
 recipes/xorg-xserver/xserver-xorg-conf_0.1.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
recipes/xorg-xserver/xserver-xorg-conf_0.1.bb +0 -0
index 617eee6..1be87b1 100644

recipes/xorg-xserver/xserver-xorg-conf_0.1.bb line 5

Quoted 6 lines
recipes/xorg-xserver/xserver-xorg-conf_0.1.bb +1 -1
@@ -1,5 +1,5 @@
 DESCRIPTION = "Machine specific xorg.conf files"
-PR = "r5"
+PR = "r21"
 
 SRC_URI = "file://xorg.conf"
 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLp2OUMkyGM64RGpERAnBEAJ4iRJ7yoaEJf50tMXNtsoI9kLp2WQCfbXQS BRkASbHeP3YGX5dlN6DYNEQ=
=ZdZv
-----END PGP SIGNATURE-----