Skip to contentSkip to conversation

tiny: Update linux-yocto-tiny to 3.2

PATCH Applied Darren Hart 3 participants 4 messages Apr 1, 2012 – Apr 3, 2012

lore
Share & tools
lore
#0 lore raw

cover tiny: Update linux-yocto-tiny to 3.2

The following changes since commit c97f7f4e4ecd6c431712059c34ebc17b68b055ae:

cross-canadian.bbclass: fix rpath for sdk executables (2012-03-31 18:00:36 +0100)

are available in the git repository at:
git://git.infradead.org/users/dvhart/oe-core.git dvhart/tiny
http://git.infradead.org/users/dvhart/oe-core.git/shortlog/refs/heads/dvhart/tiny

Darren Hart (1):
tiny: Update linux-yocto-tiny to 3.2

 meta/recipes-kernel/linux/linux-yocto-tiny/ata.cfg |    9 -
 .../recipes-kernel/linux/linux-yocto-tiny/core.cfg |   19 -
 .../linux/linux-yocto-tiny/debug.cfg               |    5 -
 .../linux/linux-yocto-tiny/devtmpfs.cfg            |    6 -
 .../linux/linux-yocto-tiny/e1000.cfg               |    7 -
 .../recipes-kernel/linux/linux-yocto-tiny/ext2.cfg |    1 -
 .../recipes-kernel/linux/linux-yocto-tiny/ext3.cfg |    2 -
 .../recipes-kernel/linux/linux-yocto-tiny/lzma.cfg |    3 -
 meta/recipes-kernel/linux/linux-yocto-tiny/net.cfg |   26 -
 .../linux/linux-yocto-tiny/qemux86/defconfig       |  613 --------------------
 .../linux/linux-yocto-tiny/ramfs.cfg               |    6 -
 .../linux/linux-yocto-tiny/rtc-pc.cfg              |   13 -
 .../linux/linux-yocto-tiny/serial.cfg              |    7 -
 meta/recipes-kernel/linux/linux-yocto-tiny/smp.cfg |    7 -
 meta/recipes-kernel/linux/linux-yocto-tiny_3.0.bb  |   39 --
 meta/recipes-kernel/linux/linux-yocto-tiny_3.2.bb  |   25 +
 16 files changed, 25 insertions(+), 763 deletions(-)
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ata.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/core.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/debug.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/devtmpfs.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/e1000.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ext2.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ext3.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/lzma.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/net.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/qemux86/defconfig
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ramfs.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/rtc-pc.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/serial.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/smp.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_3.0.bb
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_3.2.bb
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 1/1 tiny: Update linux-yocto-tiny to 3.2

Migrate linux-yocto-tiny from 3.0 to 3.2. The 3.0 recipe was based entirely on recipe-space fragments and was only a proof of concept. The 3.2 linux-yocto meta-data now has a proper tiny KTYPE defined.

By default this recipe supports only the qemux86 machine, which builds the common-pc support (including networking, sound, USB, VGA and serial consoles, etc.). New machines can be added and will use the tiny KTYPE, but will need to add any desired hardware support as the base config is very minimal.

No filesystems are supported by default, only the initramfs.

---
 meta/recipes-kernel/linux/linux-yocto-tiny/ata.cfg |    9 -
 .../recipes-kernel/linux/linux-yocto-tiny/core.cfg |   19 -
 .../linux/linux-yocto-tiny/debug.cfg               |    5 -
 .../linux/linux-yocto-tiny/devtmpfs.cfg            |    6 -
 .../linux/linux-yocto-tiny/e1000.cfg               |    7 -
 .../recipes-kernel/linux/linux-yocto-tiny/ext2.cfg |    1 -
 .../recipes-kernel/linux/linux-yocto-tiny/ext3.cfg |    2 -
 .../recipes-kernel/linux/linux-yocto-tiny/lzma.cfg |    3 -
 meta/recipes-kernel/linux/linux-yocto-tiny/net.cfg |   26 -
 .../linux/linux-yocto-tiny/qemux86/defconfig       |  613 --------------------
 .../linux/linux-yocto-tiny/ramfs.cfg               |    6 -
 .../linux/linux-yocto-tiny/rtc-pc.cfg              |   13 -
 .../linux/linux-yocto-tiny/serial.cfg              |    7 -
 meta/recipes-kernel/linux/linux-yocto-tiny/smp.cfg |    7 -
 meta/recipes-kernel/linux/linux-yocto-tiny_3.0.bb  |   39 --
 meta/recipes-kernel/linux/linux-yocto-tiny_3.2.bb  |   25 +
 16 files changed, 25 insertions(+), 763 deletions(-)
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ata.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/core.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/debug.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/devtmpfs.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/e1000.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ext2.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ext3.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/lzma.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/net.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/qemux86/defconfig
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ramfs.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/rtc-pc.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/serial.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/smp.cfg
 delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_3.0.bb
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_3.2.bb
meta/recipes-kernel/linux/linux-yocto-tiny/ata.cfg deleted +0 -9
deleted file mode 100644
index 97e4d00..0000000
@@ -1,9 +0,0 @@
-# IDE disk support
-# Dependencies
-CONFIG_PCI=y
-CONFIG_BLOCK=y
-CONFIG_BLK_DEV_SD=y
-CONFIG_ATA=y
-CONFIG_ATA_SFF=y
-CONFIG_ATA_BMDMA=y
-CONFIG_ATA_PIIX=y
meta/recipes-kernel/linux/linux-yocto-tiny/core.cfg deleted +0 -19
deleted file mode 100644
index 7057218..0000000
@@ -1,19 +0,0 @@
-# Basic facilities that shall be present in all kernels
-
-# Needed to execute... anything (like init)
-CONFIG_BINFMT_ELF=y
-
-# Needed by at least the telephony daemon
-CONFIG_SIGNALFD=y
-
-# At least bootlogd requires this
-CONFIG_UNIX98_PTYS=y
-
-# Required for basic IPC and pthread locking support
-CONFIG_SYSVIPC=y
-CONFIG_FUTEX=y
-CONFIG_RT_MUTEXES=y
-
-CONFIG_PROC_FS=y
-CONFIG_SYSFS=y
-
meta/recipes-kernel/linux/linux-yocto-tiny/debug.cfg deleted +0 -5
deleted file mode 100644
index 886bfd9..0000000
@@ -1,5 +0,0 @@
-# Debug options
-# +98k bzImage
-CONFIG_PRINTK=y
-CONFIG_EARLY_PRINTK=y
-CONFIG_PRINTK_TIME=y
meta/recipes-kernel/linux/linux-yocto-tiny/devtmpfs.cfg deleted +0 -6
deleted file mode 100644
index 07632e2..0000000
@@ -1,6 +0,0 @@
-# For /dev and udev
-# Could eliminate for a static /dev tree
-# +1.5k bzImage
-CONFIG_HOTPLUG=y
-CONFIG_DEVTMPFS=y
-CONFIG_DEVTMPFS_MOUNT=y
meta/recipes-kernel/linux/linux-yocto-tiny/e1000.cfg deleted +0 -7
deleted file mode 100644
index 8e18bbb..0000000
@@ -1,7 +0,0 @@
-# e1000 PCI network card support (qemu default)
-# FIXME: This appears in dmesg, but a probe fails
-# bzImage +31k
-CONFIG_PCI=y
-CONFIG_NETDEVICES=y
-CONFIG_NETDEV_1000=y
-CONFIG_E1000=y
meta/recipes-kernel/linux/linux-yocto-tiny/ext2.cfg deleted +0 -1
deleted file mode 100644
index e35c36d..0000000
@@ -1 +0,0 @@
-CONFIG_EXT2_FS=y
meta/recipes-kernel/linux/linux-yocto-tiny/ext3.cfg deleted +0 -2
deleted file mode 100644
index df9dd64..0000000
@@ -1,2 +0,0 @@
-# bzImage +61k
-CONFIG_EXT3_FS=y
meta/recipes-kernel/linux/linux-yocto-tiny/lzma.cfg deleted +0 -3
deleted file mode 100644
index f1bafe1..0000000
@@ -1,3 +0,0 @@
-# bzImage -235k (-15% of bzImage size)
-CONFIG_KERNEL_LZMA=y
-
meta/recipes-kernel/linux/linux-yocto-tiny/net.cfg deleted +0 -26
deleted file mode 100644
index ab6d1ee..0000000
@@ -1,26 +0,0 @@
-# +246k bzImage
-
-# Basic socket support
-CONFIG_NET=y
-CONFIG_UNIX=y
-CONFIG_NETWORK_FILESYSTEMS=y
-CONFIG_NLATTR=y
-
-# INET TCP/IP
-CONFIG_INET=y
-CONFIG_TCP_CONG_CUBIC=y
-CONFIG_DEFAULT_TCP_CONG="cubic"
-
-# Disable certain new defaults
-# bzImage ~ -200k
-# Using allnoconfig internally would eliminate the need for this
-# CONFIG_XFRM is not set
-# CONFIG_IPV6 is not set
-# CONFIG_WIRELESS is not set
-# CONFIG_IPCOMP_XFRM is not set
-# IPSEC
-# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
-# CONFIG_INET_XFRM_MODE_TUNNEL is not set
-# CONFIG_INET_XFRM_MODE_BEET is not set
-#
-# CONFIG_INET_DIAG is not set
meta/recipes-kernel/linux/linux-yocto-tiny/qemux86/defconfig deleted +0 -613

613 lines not on this page · raw message

meta/recipes-kernel/linux/linux-yocto-tiny/ramfs.cfg deleted +0 -6
deleted file mode 100644
index 96f4bd3..0000000
@@ -1,6 +0,0 @@
-CONFIG_BLK_DEV=y
-CONFIG_BLK_DEV_INITRD=y
-CONFIG_BLK_DEV_RAM=y
-CONFIG_BLK_DEV_RAM_COUNT=1
-CONFIG_BLK_DEV_RAM_SIZE=6144
-
meta/recipes-kernel/linux/linux-yocto-tiny/rtc-pc.cfg deleted +0 -13
deleted file mode 100644
index f667440..0000000
@@ -1,13 +0,0 @@
-# Dependencies
-CONFIG_ACPI=y
-CONFIG_HPET=y
-CONFIG_HPET_TIMER=y
-
-CONFIG_HPET_EMULATE_RTC=y
-CONFIG_RTC_LIB=y
-CONFIG_RTC_CLASS=y
-CONFIG_RTC_HCTOSYS=y
-CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
-CONFIG_RTC_INTF_PROC=y
-CONFIG_RTC_INTF_DEV=y
-CONFIG_RTC_DRV_CMOS=y
meta/recipes-kernel/linux/linux-yocto-tiny/serial.cfg deleted +0 -7
deleted file mode 100644
index 0a28dca..0000000
@@ -1,7 +0,0 @@
-CONFIG_SERIAL_8250=y
-CONFIG_SERIAL_8250_CONSOLE=y
-CONFIG_SERIAL_8250_NR_UARTS=4
-CONFIG_SERIAL_8250_RUNTIME_UARTS=4
-# CONFIG_SERIAL_8250_EXTENDED is not set
-CONFIG_SERIAL_CORE=y
-CONFIG_SERIAL_CORE_CONSOLE=y
meta/recipes-kernel/linux/linux-yocto-tiny/smp.cfg deleted +0 -7
deleted file mode 100644
index a82096e..0000000
@@ -1,7 +0,0 @@
-# bzImage +104k
-CONFIG_HOTPLUG=y
-CONFIG_HOTPLUG_CPU=y
-CONFIG_SMP=y
-CONFIG_SCHED_SMT=y
-CONFIG_SCHED_MC=y
-
meta/recipes-kernel/linux/linux-yocto-tiny_3.0.bb deleted +0 -39
deleted file mode 100644
index e8bd633..0000000
@@ -1,39 +0,0 @@
-inherit kernel
-require recipes-kernel/linux/linux-yocto.inc
-
-# We need lzma (as CONFIG_KERNEL_LZMA=y)
-DEPENDS += "xz-native"
-
-#KMACHINE = "yocto/standard/tiny/base"
-KMACHINE = "yocto/standard/base"
-KBRANCH = "${KMACHINE}"
-
-LINUX_VERSION ?= "3.0.24"
-
-SRCREV_machine ?= "da7c40006b08916ff3a3db104def82aaf9ac2716"
-SRCREV_meta ?= "a4ac64fe873f08ef718e2849b88914725dc99c1c"
-
-PR = "r3"
-PV = "${LINUX_VERSION}+git${SRCPV}"
-
-SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.0;protocol=git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta \
-           file://core.cfg \
-           file://serial.cfg \
-           file://ext2.cfg \
-           file://rtc-pc.cfg \
-           file://ramfs.cfg \
-           file://devtmpfs.cfg \
-           file://net.cfg \
-           file://debug.cfg \
-           file://lzma.cfg \
-           "
-
-
-# Enable qemux86 specific emulated options
-SRC_URI_append_qemux86 = " file://defconfig file://ata.cfg file://e1000.cfg"
-
-#COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64)"
-COMPATIBLE_MACHINE = "(qemux86)"
-
-# Functionality flags
-KERNEL_FEATURES = ""
meta/recipes-kernel/linux/linux-yocto-tiny_3.2.bb new file +25 -0
new file mode 100644
index 0000000..d2c8bf7
@@ -0,0 +1,25 @@
+inherit kernel
+require recipes-kernel/linux/linux-yocto.inc
+
+# We need lzma (as CONFIG_KERNEL_LZMA=y)
+DEPENDS += "xz-native"
+
+KMACHINE = "common-pc"
+KBRANCH = "standard/tiny"
+LINUX_KERNEL_TYPE = "tiny"
+KCONFIG_MODE = "--allnoconfig"
+
+LINUX_VERSION ?= "3.2.11"
+
+SRCREV_machine ?= "ec236058dc254183dbfb3744bf21f110c37af30b"
+SRCREV_meta ?= "59f350ec3794e19fa806c1b73749d851f8ebf364"
+
+PR = "r0"
+PV = "${LINUX_VERSION}+git${SRCPV}"
+
+SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.2;protocol=git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta"
+
+COMPATIBLE_MACHINE = "(qemux86)"
+
+# Functionality flags
+KERNEL_FEATURES = ""
Signature · 1 line
1.7.5.4
Acked-by on the v1 series
#2 lore raw
In reply to Darren Hart
Quoted 3 lines · Darren Hart

The following changes since commit c97f7f4e4ecd6c431712059c34ebc17b68b055ae:

   cross-canadian.bbclass: fix rpath for sdk executables (2012-03-31 18:00:36 +0100)
Quoted 42 lines

are available in the git repository at:
git://git.infradead.org/users/dvhart/oe-core.git dvhart/tiny
http://git.infradead.org/users/dvhart/oe-core.git/shortlog/refs/heads/dvhart/tiny

Darren Hart (1):
tiny: Update linux-yocto-tiny to 3.2

  meta/recipes-kernel/linux/linux-yocto-tiny/ata.cfg |    9 -
  .../recipes-kernel/linux/linux-yocto-tiny/core.cfg |   19 -
  .../linux/linux-yocto-tiny/debug.cfg               |    5 -
  .../linux/linux-yocto-tiny/devtmpfs.cfg            |    6 -
  .../linux/linux-yocto-tiny/e1000.cfg               |    7 -
  .../recipes-kernel/linux/linux-yocto-tiny/ext2.cfg |    1 -
  .../recipes-kernel/linux/linux-yocto-tiny/ext3.cfg |    2 -
  .../recipes-kernel/linux/linux-yocto-tiny/lzma.cfg |    3 -
  meta/recipes-kernel/linux/linux-yocto-tiny/net.cfg |   26 -
  .../linux/linux-yocto-tiny/qemux86/defconfig       |  613 --------------------
  .../linux/linux-yocto-tiny/ramfs.cfg               |    6 -
  .../linux/linux-yocto-tiny/rtc-pc.cfg              |   13 -
  .../linux/linux-yocto-tiny/serial.cfg              |    7 -
  meta/recipes-kernel/linux/linux-yocto-tiny/smp.cfg |    7 -
  meta/recipes-kernel/linux/linux-yocto-tiny_3.0.bb  |   39 --
  meta/recipes-kernel/linux/linux-yocto-tiny_3.2.bb  |   25 +
  16 files changed, 25 insertions(+), 763 deletions(-)

delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ata.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/core.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/debug.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/devtmpfs.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/e1000.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ext2.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ext3.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/lzma.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/net.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/qemux86/defconfig delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ramfs.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/rtc-pc.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/serial.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/smp.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_3.0.bb create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_3.2.bb

Applied
#3 lore raw
In reply to Darren Hart
Quoted 28 lines · Darren Hart

The following changes since commit c97f7f4e4ecd6c431712059c34ebc17b68b055ae:

   cross-canadian.bbclass: fix rpath for sdk executables (2012-03-31 18:00:36 +0100)

are available in the git repository at:
git://git.infradead.org/users/dvhart/oe-core.git dvhart/tiny
http://git.infradead.org/users/dvhart/oe-core.git/shortlog/refs/heads/dvhart/tiny

Darren Hart (1):
tiny: Update linux-yocto-tiny to 3.2

  meta/recipes-kernel/linux/linux-yocto-tiny/ata.cfg |    9 -
  .../recipes-kernel/linux/linux-yocto-tiny/core.cfg |   19 -
  .../linux/linux-yocto-tiny/debug.cfg               |    5 -
  .../linux/linux-yocto-tiny/devtmpfs.cfg            |    6 -
  .../linux/linux-yocto-tiny/e1000.cfg               |    7 -
  .../recipes-kernel/linux/linux-yocto-tiny/ext2.cfg |    1 -
  .../recipes-kernel/linux/linux-yocto-tiny/ext3.cfg |    2 -
  .../recipes-kernel/linux/linux-yocto-tiny/lzma.cfg |    3 -
  meta/recipes-kernel/linux/linux-yocto-tiny/net.cfg |   26 -
  .../linux/linux-yocto-tiny/qemux86/defconfig       |  613 --------------------
  .../linux/linux-yocto-tiny/ramfs.cfg               |    6 -
  .../linux/linux-yocto-tiny/rtc-pc.cfg              |   13 -
  .../linux/linux-yocto-tiny/serial.cfg              |    7 -
  meta/recipes-kernel/linux/linux-yocto-tiny/smp.cfg |    7 -
  meta/recipes-kernel/linux/linux-yocto-tiny_3.0.bb  |   39 --
  meta/recipes-kernel/linux/linux-yocto-tiny_3.2.bb  |   25 +
  16 files changed, 25 insertions(+), 763 deletions(-)
Quoted 17 lines

delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ata.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/core.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/debug.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/devtmpfs.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/e1000.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ext2.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ext3.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/lzma.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/net.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/qemux86/defconfig delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ramfs.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/rtc-pc.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/serial.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/smp.cfg delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_3.0.bb create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_3.2.bb

Merged into OE-Core

Thanks
Sau!