summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* dev-manual: Edits to "Using a Quilt Workflow" section.Scott Rifenbark2013-04-111-2/+2
| | | | | | | (From yocto-docs rev: 392cfbab010858ce0354a41e1e6c2304a3be9287) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Fixed section heading capitalization.Scott Rifenbark2013-04-111-1/+1
| | | | | | | (From yocto-docs rev: 7f948729342eeb55072816ccade3bc9a32646c92) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Workflow Using Stand-Alone Cross-Development ↵Scott Rifenbark2013-04-111-1/+2
| | | | | | | | | Toolchains" section. (From yocto-docs rev: ea008dbbb0a6ab14ae3fe44238f60f92d85cecde) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Building and Customizing the Image Using Hob" section.Scott Rifenbark2013-04-111-7/+11
| | | | | | | (From yocto-docs rev: bd5fd85a90f4262eda09623fe2398798a4fecfe3) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Changed title - shouldn't say "Files".Scott Rifenbark2013-04-111-2/+2
| | | | | | | (From yocto-docs rev: 538230267d9035ca5230b7176369ed8f95a64128) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Editing the Metadata Files" section.Scott Rifenbark2013-04-111-4/+6
| | | | | | | (From yocto-docs rev: bfa2ed13f7b924b38c3048431a93e3397f4afafa) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Creating the Yocto BitBake Commander Project" section.Scott Rifenbark2013-04-111-9/+12
| | | | | | | (From yocto-docs rev: f6b29db4b5f5f7580ce61fe2650bcaeb29a7d10e) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Customizing an Image Using a BitBake Commander Project ↵Scott Rifenbark2013-04-111-3/+3
| | | | | | | | | and Hob" section. (From yocto-docs rev: 72047560f5ecccf8d1dd7c7e9acb1ae1ec15ffe5) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Fixed an occurence of "User Space" in a title.Scott Rifenbark2013-04-111-1/+1
| | | | | | | | | This should be "User-Space". (From yocto-docs rev: 68bd187b9d0f3aeb8bc173fa49a97e5b01717661) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Running User-Space Tools" section.Scott Rifenbark2013-04-111-35/+42
| | | | | | | (From yocto-docs rev: bb3e5efe23d1bc890ad203e1c936937fb4fd8958) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Deploying and Debugging the Application" section.Scott Rifenbark2013-04-111-15/+18
| | | | | | | (From yocto-docs rev: cfea9d5872952ab21942b4d4cc4ae7ec89fa9d94) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Starting QEMU in User Space NFS Mode" section.Scott Rifenbark2013-04-111-1/+2
| | | | | | | (From yocto-docs rev: 7ef63536e99dfadaa436fd03a174cfae6aebc60a) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Building the Project" section.Scott Rifenbark2013-04-111-2/+3
| | | | | | | (From yocto-docs rev: 4d5903522e13dca6273f6724f05b0a7caab17798) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Configuring the Cross-Toolchains" section.Scott Rifenbark2013-04-111-8/+9
| | | | | | | (From yocto-docs rev: 22bc538effa37ea48884942f204488637663f75b) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Creating the Project" section.Scott Rifenbark2013-04-111-3/+3
| | | | | | | (From yocto-docs rev: 89ab8e345316bb76263e250491e2879d02f1c857) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Configuring the Target Options" section.Scott Rifenbark2013-04-111-2/+2
| | | | | | | (From yocto-docs rev: d47713659d1a4980b7c1d435b97570a6608658d2) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Configuring the Cross-Compiler Options" section.Scott Rifenbark2013-04-111-15/+18
| | | | | | | (From yocto-docs rev: b301486fe522a519fa743975fd229ab9060cf0c8) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Configuring the Eclipse Yocto Plug-in" section.Scott Rifenbark2013-04-111-3/+4
| | | | | | | (From yocto-docs rev: 05795932390370a06599ae6898e2f4d9187f7a37) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Importing the Plug-in Project into the Eclipse ↵Scott Rifenbark2013-04-111-4/+9
| | | | | | | | | Environment" section. (From yocto-docs rev: b1f7160923af2732aa93114f97caadb45e983699) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Installing the Plug-in Using the Latest Source Code" ↵Scott Rifenbark2013-04-111-1/+1
| | | | | | | | | section. (From yocto-docs rev: 28deb9648920ace60924b7d2c23a5d9f614b3f21) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Installing or Accessing the Eclipse Yocto Plug-in" ↵Scott Rifenbark2013-04-111-1/+1
| | | | | | | | | section. (From yocto-docs rev: f526dc09bcf6e89a1fe3ba48b42361b9c7ca1ae3) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits from "Configuring the Eclipse IDE (Indigo)" section.Scott Rifenbark2013-04-111-3/+4
| | | | | | | (From yocto-docs rev: c699e4dfc417f3e4eef2d08b889cf0892254088b) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Configuring the Eclipse IDE (Juno)" section.Scott Rifenbark2013-04-111-2/+2
| | | | | | | (From yocto-docs rev: 45e59bf06861314814682e5a9a4ebcad24ea7b02) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Installing the Eclipse IDE" section.Scott Rifenbark2013-04-111-1/+1
| | | | | | | (From yocto-docs rev: 333563f12cb780be744160077e55ce8c76700971) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Working Within Eclipse" section.Scott Rifenbark2013-04-111-1/+2
| | | | | | | (From yocto-docs rev: 4932263b40b31a230f283091d5d30ebe5bd1440e) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Workflow Using the ADT and Eclipse" section.Scott Rifenbark2013-04-111-9/+9
| | | | | | | (From yocto-docs rev: 2fec6bbe8b89ce41b4fcd40f2ebaa5fa3fe3687e) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Application Development Workflow" section.Scott Rifenbark2013-04-111-3/+5
| | | | | | | (From yocto-docs rev: 022a082f940176f52a0142b3b042a9e6defab728) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Kernel Modification Workflow" section.Scott Rifenbark2013-04-111-5/+6
| | | | | | | (From yocto-docs rev: 0d14d7fe0deb6329370a4fa1a5a069725697bff0) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Kernel Overview" section.Scott Rifenbark2013-04-111-17/+15
| | | | | | | (From yocto-docs rev: a2c37342f0ee1c4b52ed449243785b93b13319b3) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to remote GDB debugging section.Scott Rifenbark2013-04-111-8/+8
| | | | | | | | | | | Fixes YOCTO #3540 Further minor edits to make the example consistent. (From yocto-docs rev: 863a955f5cf119a38db4950101270bd5a53da027) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Developing a Board Support Package (BSP)" section.Scott Rifenbark2013-04-111-8/+9
| | | | | | | (From yocto-docs rev: 29843f6f5cc16c978369df1daf64d9d45d288490) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to the chapter introductory section.Scott Rifenbark2013-04-111-3/+3
| | | | | | | (From yocto-docs rev: 40337dc811ada7f426df3b243455476b98e0cee1) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Did a re-org on the subsections of remote DBG section.Scott Rifenbark2013-04-111-27/+27
| | | | | | | | | | | | Fixes YOCTO #3540 Realized that a better organization of the sub-sections could be applied. Pulled the last two sections up a level. (From yocto-docs rev: d196db9bf1f88aa0677453396abdd61bf5d724dd) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Updates to the debugging using GDB section.Scott Rifenbark2013-04-111-122/+74
| | | | | | | | | | | | | Fixes YOCTO #3540 Applied changes per Jessica Zhang's feedback from the bug entry in Bugzilla. I added some missing steps and also tried to make the section stick with one example throughout. (From yocto-docs rev: f995006a90a3646c92d54dc96a8fceae4de758eb) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: remove spurious cd in do_compile_prependRoss Burton2013-04-111-1/+0
| | | | | | | | | | | | | | This prepend was cding to ${S}, which then breaks base_do_compile as it assumes it's in ${B}. The cd is pointless as all of the operations use absolute paths, so remove it. The result of this was that base_do_compile was failing to find the makefiles, so the compilation happened in do_install. (From OE-Core rev: ac3a8ce0b672d1488c9074bde1a1d062e0c5fd33) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg, opkg, rpm-postinst: fix overwriting the run-postinstall scriptLaurentiu Palcu2013-04-113-17/+28
| | | | | | | | | | | | | | | | | | | | | | | If multiple package managers are installed in the image, they will overwrite each other's run-postinsts script, resulting in postinstalls not beeing run at all at first boot. What this patch does: * checks whether opkg/dpks/rpm is actually used to install the packages and, only after, creates the run-postinsts script; * brings dpkg recipe in sync with opkg: moves the script creation from do_install to postinstall; * move creation of run-postinsts script (rpm-postinsts recipe) to the postinstall scriptlet in order to better control the creation of the script according to the package manager used; [YOCTO #4231] [YOCTO #4179] (From OE-Core rev: d7fd56df0a4954954d6d0764ae06beb869e6b99a) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest bug fixesBjörn Stenberg2013-04-113-15/+11
| | | | | | | | | | | | | | | | | | | Move ${PN}-ptest to start of PACKAGES to ensure all ptest files are packaged in the -ptest package. Add QA exclusions to insane.bbclass to ensure -ptest packages can contain any files they need. Disable ptest for native packages. Don't emit errors on missing _ptest functions. (From OE-Core rev: 01bea4ef932e46eb2fcc8b4be7ff5e2b5b2a0978) Signed-off-by: Björn Stenberg <bjst@enea.com> Signed-off-by: Anders Roxell <anders.roxell@enea.com> Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.conf: update SANITY_TESTED_DISTROSTrevor Woerner2013-04-111-0/+1
| | | | | | | | | | Include release 12.3 of openSUSE as sanity tested. For each of the provided qemu targets I have been able to "bitbake world" and "runqemu". (From meta-yocto rev: 9ce4d3c891c16999f646eed878927d372114e259) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* routerstationpro: strip the output kernel of .comment sectionMichel Thebeau2013-04-111-2/+3
| | | | | | | | | | | | | | | | | | | | | | The routerstationpro has a 16mb flash which the kernel image should fit into. The default build type for vmlinux then should be a stripped vmlinux. Use KERNEL_IMAGE_STRIP_EXTRA_SECTIONS to do this. Reverts commit 9cd3816e4db97c8fd093a120a75a2b5d193afcdd, which causes: RedBoot> load -v vlm-boards/19256/kernel Using default protocol (TFTP) Unrecognized image type: 0x0 [YOCTO 3515] [YOCTO 4220] (From meta-yocto rev: ddd2174d9a2dccddd0791af741ff7fd13cc264ce) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: do_strip: allow recipes to strip the kernelMichel Thebeau2013-04-111-2/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow recipes to specify sections to be stripped from the kernel output using KERNEL_IMAGE_STRIP_EXTRA_SECTIONS. For example: KERNEL_IMAGE_STRIP_EXTRA_SECTIONS = ".comment .unwanted" The kernel output is stripped in place. Since the toolchain does not give indication when the specified sections are absent, we read the sections first and make this report by issuing a warning to the developer. The toolchain by default strips the image with the -s option (even when -s is not specified): -s --strip-all Remove all symbol and relocation information For example, these sections are always removed: .debug_aranges .debug_info .debug_abbrev .debug_line .debug_frame .debug_str .debug_loc .debug_ranges .symtab .strtab In addition to these, the sections listed in KERNEL_IMAGE_STRIP_EXTRA_SECTIONS will also be removed. Only stripping of vmlinux (elf) is supported at this time. A warning will be given if the image type is not vmlinux. Stripping the image could also be done in the kernel, but that would only work for linux-yocto based kernels, so it's not the route we decided to go. [YOCTO 3515] (From OE-Core rev: 5f6d33b05b4e7883f2728ca812cb5386d1e36989) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-tools: fix conditional configuration itemsBruce Ashfield2013-04-111-1/+1
| | | | | | | | | | | | | | | | Variables defined in .scc files have two purposes: - Documentation in the meta-series - Variables that can be tested in sub sections and other features The second part of this functionality was broken when fixing configuration for tiny/small systems. As a result, arch tests were failing and configs were dropped. This restores the existing functionality. (From OE-Core rev: 4170e458e0f700319f4e1023c0c6c2d803449566) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.8: qemumips boot fixes and netfilter kernel featuresBruce Ashfield2013-04-113-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | Updating the linux-yocto-3.8 recipes to fix two issues: 1) qemumips boot This is fixed by: Revert "Input: i8042-io - fix up region handling on MIPS" And by disabling ftrace for qemumips boards 2) netfilter options being dropped When KERNEL_EXTRA_FEATURES was introduced, and allowed to be inhibited, the variable was only applied to qemux86 machines. It should be applied ot all machine types (unless inhibited), so we restore that functionality. (From OE-Core rev: 0271dec64591c4d91933b3a8db875a374a63640b) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.8: qemumips graphical bootBruce Ashfield2013-04-103-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the meta SRCREV to fix and illegal instruction that is seen when launching X with USB pointing devices. meta/qemumips: build USB_UHCI_HCD into the kernel When booting qemumips and USB_UHCI_HCD built as a module, the following trace is seen, and then prevents X from starting: qemumips user.warn kernel: Call Trace: qemumips user.warn kernel: [<c0028000>] uhci_check_bandwidth+0x0/0x160 [uhci_hcd] qemumips user.warn kernel: [<c002e08c>] uhci_urb_enqueue+0xba4/0xc48 [uhci_hcd] qemumips user.warn kernel: [<8058092c>] usb_hcd_submit_urb+0xdc/0x848 qemumips user.warn kernel: [<805b8fbc>] wacom_open+0x44/0x8c qemumips user.warn kernel: [<805a1990>] input_open_device+0xac/0xec qemumips user.warn kernel: [<805a8cec>] evdev_open+0x188/0x1bc qemumips user.warn kernel: [<802331d8>] chrdev_open+0xc8/0x1c4 qemumips user.warn kernel: [<8022b338>] do_dentry_open+0x248/0x2e4 qemumips user.warn kernel: [<8022b418>] finish_open+0x44/0x68 qemumips user.warn kernel: [<8023e51c>] do_last.isra.29+0x2c0/0xcbc qemumips user.warn kernel: [<8023efd8>] path_openat+0xc0/0x52c qemumips user.warn kernel: [<8023f840>] do_filp_open+0x4c/0xbc qemumips user.warn kernel: [<8022cc3c>] do_sys_open+0x128/0x20c qemumips user.warn kernel: [<8010c07c>] stack_done+0x20/0x44 qemumips user.warn kernel: Code: (Bad address in epc) qemumips user.warn kernel: ---[ end trace 8a48c6046870f8c2 ]--- Building the module into the kernel fixes the problem, but the root cause is still under investigation. The pipelines around jumps to module addresses seem to be triggering invalid instructions. (From OE-Core rev: b7b7ebe57bd6fd248e80be0b7e517a3ceb7cfd11) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.8: aufs, config processing, tiny, mips boot fixesBruce Ashfield2013-04-103-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the SRCREVs to fix a number of bugs, boot issues and ktype support additions. standard/*: Aufs support was misplaced on the move from the -dev to release kernel, this commit restores the support. This is not active unless the aufs configuration items are enabled via the aufs-enable.scc feature. 11998bd aufs: core support f2ea9f4 aufs: standalone support bf529b6 aufs: aufs proc_map b6f0a04 aufs: aufs base support 55b0bc2 aufs: kbuild patch meta: The meta branch has updates for aufs enablement, tiny BSP configs, preempt-rt fixes and a wifi config audit fix. 4c567e0 meta/aufs: add -enable feature and patches 059fe88 meta/aufs: create aufs configuration fragment 7d672cd0 meta: add fri2 tiny BSP config. mti-malta32: This fixes the graphical boot of qemumips, the offending commit is breaking dynamic patching of ftrace on the simulation, so we revert the commit for now. 18c71ab Revert "ftrace/x86: Have x86 ftrace use the ftrace_modify_all_code()" mti-malta64: This enables the boot of qemumips64 by reverting the broken ftrace support for mips64 and by stubbing out inavlid oprofile register writes. 0ec615c Revert "ftrace/x86: Have x86 ftrace use the ftrace_modify_all_code()" bbefde3 oprofile/mips: do not set perf_irq for qemu mips 64 eb6cb79 Revert "MIPS: Function tracer: Fix broken function tracing" [YOCTO #4052] [YOCTO #4129] [YOCTO #2410] (From OE-Core rev: 3d88f61b59f0a07e199306bf3a15ab023e77e17d) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-tools: fix excluded configuration processingBruce Ashfield2013-04-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | One of the features introduced early on in the 1.4 release cycle was the ability to include a kernel feature, but only get its patches and not configs (and vice versa). As it turns out, this only was exercised recently and once a single include with dropped configs was started, ALL configuration values following the commit were dropped. To fix the problem, the processing of kernel features has been split into two. Where the features are preprocessed and the assembled/complete file is used to generate the meta-series (which is later applied to the tree). The logic of the tools is the same, but the two phases of processing allows configuration values to be excluded properly and simply, while keeping the logic for modifying the tree in a separate step. All changes are invisible to the user, and are done within the existing scripts and build system bindings. Output series and manipulations to the tree are the same as they were before this change. Updating the kern-tools SRCREV to pickup the kern-tools changes for this. (From OE-Core rev: 961ab0ac53de317c22409d90244a313998959714) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.8: atom-pc: Update atom-pc-preempt-rt.scc to reuse config from ↵Bruce Ashfield2013-04-102-2/+2
| | | | | | | | | | | | | | | | | | | common-pc Updating the meta branch SRCREV to pick up the following change: The atom-pc preempt-rt BSP was omitting the config from common-pc, resulting in very few drivers being built, including USB_STORAGE, preventing preliminary boot testing. Remove the "standard features" as those are covered by the common-pc scc files. (From OE-Core rev: 1e20b3cbc8da3e6729d3825c62422c0dd82e1577) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.8: fix atom-pc config audit warningsBruce Ashfield2013-04-102-2/+2
| | | | | | | | | | | | | | | | The atom-pc was referencing some invalid and unecessary config options that are causing kernel config audit warnings. With this SRCREV update, the configuration is clean against the 3.8 kernel. [YOCTO #3490] (From OE-Core rev: 9f3ff1f907a0cf65d8aff82134463c4321d4b1e2) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux/yocto: update AUTOFS configurationBruce Ashfield2013-04-102-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When systemd is enabled, qemumips failed to boot with the following trace: Reserved instruction in kernel code[#1]: Cpu 0 $ 0 : 00000000 80232500 c0011000 80000000 $ 4 : c0017440 00000000 87032400 8704b000 $ 8 : 00000000 00000000 00000010 003fffff $12 : 00000000 7fafbab4 00000000 87d6fbb0 $16 : 87f98780 c0017440 c0017440 00000000 $20 : 8704a000 00000000 8704a000 00000000 $24 : 00000010 80480630 $28 : 87c22000 87c23e28 7fafbc00 80232408 Hi : 00000000 Lo : 00000000 epc : c0011000 autofs_mount+0x0/0x30 [autofs4] Not tainted ra : 80232408 mount_fs+0x68/0x200 Status: 1000a403 KERNEL EXL IE Cause : d0808028 PrId : 00019300 (MIPS 24Kc) Modules linked in: autofs4 Process systemd (pid: 1, threadinfo=87c22000, task=87c28000, tls=77787490) Stack : 809b3e28 802512bc 00000000 808b0da4 87f3d310 87936c38 87032400 8704b000 87f98780 c0017440 00000020 8704b000 87032400 87032480 00000000 80251a2c 00000006 8022f7fc 87032480 802507f0 00000000 87032400 8704b000 7fafba94 00000000 c0017440 8088275c 80253f40 7fafb9d0 00000016 38513fac 0051b2a8 8704b000 801df604 00000000 0000000a 87f5c000 801f5968 87f3d310 87936c38 ... Call Trace: [<c0011000>] autofs_mount+0x0/0x30 [autofs4] [<80232408>] mount_fs+0x68/0x200 [<80251a2c>] vfs_kern_mount+0x68/0x114 [<80253f40>] do_mount+0x218/0x9d0 [<8025479c>] sys_mount+0xa4/0xec [<8010c07c>] stack_done+0x20/0x44 The policy of building AUTOFS as a module is something that can be changed, since boot processes that use automounting can take advantage of the built in support to reduce complexity. The size increase of the base policy is small with this change, and users of the linux-yocto kernel can still override this value, which is exactly what the poky-tiny kernel does. Keeping the configuration consistent for all boards, and not adding and exception for qemumips makes sense in this case. [YOCTO #4129] (From OE-Core rev: 3570cf11b7dfa6991c43bb041abb9d47cc6f0d70) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: fix read-only-rootfs-hook.sh to start earlierPaul Eggleton2013-04-102-1/+2
| | | | | | | | | | | Mount /var/volatile ourselves so that we can set up the writable area first. This fixes the urandom service not starting properly when read-only-rootfs is enabled. (From OE-Core rev: 44c7d8a27a84a04251408e9a7d9550629bc17704) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: fix read-only-rootfs-hook.sh to avoid using unionfsPaul Eggleton2013-04-101-11/+4
| | | | | | | | | | | Unionfs isn't available everywhere, and we can get similar results (if not quite as neatly) by using bind mounts + tmpfs and copying the data over. (From OE-Core rev: 5a8ba93efa554c3b4d3b48ca8d668419a8c77f42) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>