Updates for BUG device
Here is few updates for BUG Labs BUG device which I need to have in stable/2009 branch:
- u-boot
- kernel which uses Ethernet MAC address from U-Boot environment
- fixed SVN branch for kernel
PATCH 1/2 sane-srcrevs.inc: bump linux-bug to get Ethernet using MAC from U-boot
From: Marcin Juszkiewicz <[email protected]>
--- conf/distro/include/sane-srcrevs.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
conf/distro/include/sane-srcrevs.inc +1 -1
@@ -111,7 +111,7 @@ SRCREV_pn-libowl ?= "277" SRCREV_pn-libxcalibrate ?= "209d83af61ed38a002c8096377deac292b3e396c" SRCREV_pn-libxosd ?= "627" SRCREV_pn-linux-bfin ?= "3758" -SRCREV_pn-linux-bug ?= "8918" +SRCREV_pn-linux-bug ?= "8996" SRCREV_pn-linux-hackndev-2.6 ?= "1308" SRCREV_pn-linux-ixp4xx ?= "1089" SRCREV_pn-linux-openmoko-2.6.24 ?= "fb42ce6724576fc173faf8abfb04aa2c36d213b7"
Signature · 1 line
1.6.3.rc0
Re: [STABLE][PATCH 1/2] sane-srcrevs.inc: bump linux-bug to get Ethernet using MAC from U-boot
Quoted 21 lines · Marcin Juszkiewicz
From: Marcin Juszkiewicz <[email protected]>
Signed-off-by Marcin Juszkiewicz <[email protected]>--- conf/distro/include/sane-srcrevs.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)conf/distro/include/sane-srcrevs.inc +1
-1@@ -111,7 +111,7 @@ SRCREV_pn-libowl ?= "277" SRCREV_pn-libxcalibrate ?= "209d83af61ed38a002c8096377deac292b3e396c" SRCREV_pn-libxosd ?= "627" SRCREV_pn-linux-bfin ?= "3758" -SRCREV_pn-linux-bug ?= "8918" +SRCREV_pn-linux-bug ?= "8996" SRCREV_pn-linux-hackndev-2.6 ?= "1308" SRCREV_pn-linux-ixp4xx ?= "1089" SRCREV_pn-linux-openmoko-2.6.24 ?= "fb42ce6724576fc173faf8abfb04aa2c36d213b7"
PATCH 1/1 u-boot-bug: Added U-Boot for BUG (from BUG Labs SVN)
In reply to Marcin JuszkiewiczFrom: Marcin Juszkiewicz <[email protected]>
--- conf/distro/include/sane-srcrevs.inc | 1 + recipes/u-boot/u-boot-bug_svn.bb | 37 ++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 0 deletions(-) create mode 100644 recipes/u-boot/u-boot-bug_svn.bb
conf/distro/include/sane-srcrevs.inc +1 -0
@@ -239,6 +239,7 @@ SRCREV_pn-table ?= "2191" SRCREV_pn-tichy ?= "ab68d849502009cf3214df48ffa8075a10cc2177" SRCREV_pn-tmut ?= "60" SRCREV_pn-toscoterm ?= "f02add76f365a2fecd2dbefc230ceaab20244f96" +SRCREV_pn-u-boot-bug ?= "8674" SRCREV_pn-u-boot-openmoko ?= "650149a53dbdd48bf6dfef90930c8ab182adb512" SRCREV_pn-u-boot-openmoko-devel ?= "ba029a1426bfca169572bf80d50a8b190a6b0e19" SRCREV_pn-uclibc ?= "25712"
recipes/u-boot/u-boot-bug_svn.bb new file +37 -0
@@ -0,0 +1,37 @@ +DESCRIPTION = "U-boot bootloader w/ BUG support" +LICENSE = "GPL" +SECTION = "bootloader" +PRIORITY = "optional" +PV = "1.3.2+svnr${SRCREV}" +SRCREV = "${AUTOREV}" +PR = "r6" + +SRC_URI = "\ + svn://svn.buglabs.net/bug/branches/R1.4/qa;module=u-boot;proto=svn \ +" +S = "${WORKDIR}/u-boot" + +COMPATIBLE_MACHINE = "bug" +PACKAGE_ARCH = "${MACHINE}" + +EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" +TARGET_LDFLAGS = "" + +do_compile () { + oe_runmake mx31_bug2_config + oe_runmake clean + oe_runmake all +} + +do_deploy () { + install -d ${DEPLOY_DIR_IMAGE} + install -m 0644 ${S}/u-boot.bin ${DEPLOY_DIR_IMAGE}/u-boot-${PV}-${PR}.bin + ln -sf ${DEPLOY_DIR_IMAGE}/u-boot-${PV}-${PR}.bin ${DEPLOY_DIR_IMAGE}/uboot-latest.bin +} + +do_stage() { + install -m 0755 tools/mkimage ${STAGING_BINDIR_NATIVE}/mkimage +} + +do_deploy[dirs] = "${S}" +addtask deploy before do_package after do_install
Signature · 1 line
1.6.3.rc0
Re: [STABLE][PATCH 1/1] u-boot-bug: Added U-Boot for BUG (from BUG Labs SVN)
Quoted 65 lines · Marcin Juszkiewicz
From: Marcin Juszkiewicz <[email protected]>
Signed-off-by Marcin Juszkiewicz <[email protected]>--- conf/distro/include/sane-srcrevs.inc | 1 + recipes/u-boot/u-boot-bug_svn.bb | 37 ++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 0 deletions(-) create mode 100644 recipes/u-boot/u-boot-bug_svn.bbconf/distro/include/sane-srcrevs.inc +1
-0@@ -239,6 +239,7 @@ SRCREV_pn-table ?= "2191" SRCREV_pn-tichy ?= "ab68d849502009cf3214df48ffa8075a10cc2177" SRCREV_pn-tmut ?= "60" SRCREV_pn-toscoterm ?= "f02add76f365a2fecd2dbefc230ceaab20244f96" +SRCREV_pn-u-boot-bug ?= "8674" SRCREV_pn-u-boot-openmoko ?= "650149a53dbdd48bf6dfef90930c8ab182adb512" SRCREV_pn-u-boot-openmoko-devel ?= "ba029a1426bfca169572bf80d50a8b190a6b0e19" SRCREV_pn-uclibc ?= "25712"recipes/u-boot/u-boot-bug_svn.bb new file +37
-0@@ -0,0 +1,37 @@ +DESCRIPTION = "U-boot bootloader w/ BUG support" +LICENSE = "GPL" +SECTION = "bootloader" +PRIORITY = "optional" +PV = "1.3.2+svnr${SRCREV}" +SRCREV = "${AUTOREV}" +PR = "r6" + +SRC_URI = "\ + svn://svn.buglabs.net/bug/branches/R1.4/qa;module=u-boot;proto=svn \ +" +S = "${WORKDIR}/u-boot" + +COMPATIBLE_MACHINE = "bug" +PACKAGE_ARCH = "${MACHINE}" + +EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" +TARGET_LDFLAGS = "" + +do_compile () { + oe_runmake mx31_bug2_config + oe_runmake clean + oe_runmake all +} + +do_deploy () { + install -d ${DEPLOY_DIR_IMAGE} + install -m 0644 ${S}/u-boot.bin ${DEPLOY_DIR_IMAGE}/u-boot-${PV}-${PR}.bin + ln -sf ${DEPLOY_DIR_IMAGE}/u-boot-${PV}-${PR}.bin ${DEPLOY_DIR_IMAGE}/uboot-latest.bin +} + +do_stage() { + install -m 0755 tools/mkimage ${STAGING_BINDIR_NATIVE}/mkimage +} + +do_deploy[dirs] = "${S}" +addtask deploy before do_package after do_install
PATCH 2/2 linux-bug: switch to proper SVN branch
In reply to Marcin JuszkiewiczFrom: Marcin Juszkiewicz <[email protected]>
--- recipes/linux/linux-bug_2.6.27.2.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
recipes/linux/linux-bug_2.6.27.2.bb +2 -2
@@ -2,13 +2,13 @@ DESCRIPTION = "Linux kernel for bug" PV_append = "+svnr${SRCREV}" KV = "2.6.27.2" -PR = "r26" +PR = "r27" COMPATIBLE_MACHINE = "bug" SVN_PRJ = "bug-linux-${KV}" -SRC_URI = "svn://svn.buglabs.net/bug/trunk;module=${SVN_PRJ};proto=svn \ +SRC_URI = "svn://svn.buglabs.net/bug/branches/R1.4/qa;module=${SVN_PRJ};proto=svn \ file://defconfig \ "
Signature · 1 line
1.6.3.rc0
Re: [STABLE][PATCH 2/2] linux-bug: switch to proper SVN branch
Quoted 28 lines · Marcin Juszkiewicz
From: Marcin Juszkiewicz <[email protected]>
Signed-off-by Marcin Juszkiewicz <[email protected]>--- recipes/linux/linux-bug_2.6.27.2.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)recipes/linux/linux-bug_2.6.27.2.bb +2
-2@@ -2,13 +2,13 @@ DESCRIPTION = "Linux kernel for bug" PV_append = "+svnr${SRCREV}" KV = "2.6.27.2" -PR = "r26" +PR = "r27" COMPATIBLE_MACHINE = "bug" SVN_PRJ = "bug-linux-${KV}" -SRC_URI = "svn://svn.buglabs.net/bug/trunk;module=${SVN_PRJ};proto=svn \ +SRC_URI = "svn://svn.buglabs.net/bug/branches/R1.4/qa;module=${SVN_PRJ};proto=svn \ file://defconfig \ "