Commit Graph

164 Commits

Author SHA1 Message Date
Bruce Ashfield d39ae18df2 qemu/mips: arrange for vmlinux to be bootable
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-07-19 11:59:51 -04:00
Jiajun Xu fd1d661b39 test: add automation framework and sanitytest
Automation test is disabled by default. User need set TESTCLASS
to qemu in conf/local.conf and run bitbake command "bitbake
poky-image-xxx" or "bitbake poky-image-xxx -c qemuimagetest" to
trigger it. Currently only the sanity test with two testcases are
added.

To run the test, user need prepare a testing environment:
1) "expect" should be installed on system
2) NOPASSWD should be set for user to run bitbake

Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
2010-07-15 12:48:25 +01:00
Richard Purdie bd19169a60 poky-qemu-internal: Use 128MB memory for qemumips/qemuppc
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-15 12:29:35 +01:00
Bruce Ashfield 21949128eb qemu-scripts: Add support for mips and powerpc machines, update qemuarm
For mips, the malta platform emulates a cirrus chipset. With the udpated
2.6.34 kernel options, we can now enable framebuffer boot for
the qemumips platform.

We need to pass a valid cpu (603e) and do a -nographic boot to
make it all the way to a prompt so graphics is disabled for now
for ppc.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-07-15 11:19:10 +01:00
Nitin A Kamble b43fd541d3 scripts/create_pull_request fix a typo
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-06-10 16:30:32 -07:00
Nitin A Kamble 1d64687d13 update create_pull_request for distro/master
With this change the create_pull_request will be able to generate pull
requests to master as well as distro/master branch.

Some documentation is added in the Usage messange of the script.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-06-10 16:30:32 -07:00
Joshua Lock 453ee8d573 poky-env-internal: fix a typo
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-10 15:59:11 +01:00
Richard Purdie d92a12f761 poky-evn-internal: Add some documentation about the config file and commonly used build targets
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-10 15:51:36 +01:00
Joshua Lock 2e0e24e849 scripts: Fix setting up links to cc and gcc in runqemu
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-09 17:32:01 +01:00
Saul Wold cab1009b08 Fixes for Qemu to use VGA and Touch Screen
Added usb tablet options to poky-qemu-internal script, and adjusted the
xorg.conf script for x86 to use VGA screen and tablet input device

Signed-off-by: Saul Wold <saul.wold@intel.com>
2010-06-07 16:13:00 +01:00
Joshua Lock 138df217ef Drop vm_mmap_min_addr checks from scripts and sanity class
QEMU 0.12.x is relocatable so we no longer need these tests, which is good
because it doesn't work reliably with modern kernels.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-28 15:32:41 +01:00
Nitin A Kamble bad2fe6498 add a new scripts create-pull-request
This is the 1st version of create-pull-request script.
Using specified local commit-id or branch-name it
generates a short description of the changes;
and using poky-contrib branch-name it generates the
URL where these changes are already pushed
and are available for review and git-pull.

I prepared this script as per the input from Richard Purdie.

Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-05-17 13:47:40 -07:00
Nitin A Kamble b2c4aee283 poky-qemu-internal Add -show-cursor to qemux86
Without this option the need to do the blind guesswork about the
position of the pointer.

Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-05-14 11:57:27 -07:00
Richard Purdie a722741e32 Merge branch 'tk/head' of ssh://git.pokylinux.org/poky-contrib 2010-05-14 06:36:56 +08:00
Richard Purdie ad136ddeef Revert "poky-env-internal: Disable automatic adding of meta environments to BBPATH"
This reverts commit ba804d1729 which is a valid
change but isn't working for some reason which needs further investigation.
2010-05-13 17:07:17 +08:00
Kevin Tian 5a3f17ee6b poky-env-internal: unset variables to avoid disturbing new GIT clone
Signed-off-by Kevin Tian <kevin.tian@intel.com>
2010-05-13 16:27:01 +08:00
Richard Purdie ba804d1729 poky-env-internal: Disable automatic adding of meta environments to BBPATH
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-12 15:28:54 +08:00
Joshua Lock 6458da896f Fix references to CROSS_DIR now that it has been removed
CROSS_DIR is no longer removed so fix up classes, packages and documentation
which refer to it.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-04-28 16:47:14 +01:00
Joshua Lock d2c6f3ef36 scripts/pstage-scanner: new script to sanity test the contents of pstage
Currently the script will scan all packages in the pstage directory and log
packages which contain destinations outside of the native sysroot.
The script currently ignores pkgdata, stamps and deploy but does trigger the
work dir for packages with a package-split file, this may well be a false
positive.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-04-27 16:58:43 +01:00
Richard Purdie 90040ce7b5 Switch to bblayers configuration
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 18:11:41 +00:00
Joshua Lock 7b41d2b3d1 scripts/runqemu: Fix some typos
Fix typo in help message (we default to ext3 not ext2 now)
and a typo whereby moblin-image-sdk wouldn't be autofound.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-01-14 13:42:16 +00:00
Joshua Lock ceb91f7b2b scripts: preserve BB_NUMBER_THREADS when sanitising environment
It's pretty useful to be able to define BB_NUMBER_THREADS on the cli when
executing bitbake. Add it to the extra whitelist defined in the
poky-env-internal script.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2009-12-14 17:46:59 +00:00
Richard Purdie 2c1211bab9 scripts/poky-qemu-internal: Make sure qemuarm cursor is visible
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-26 09:18:08 +00:00
Richard Purdie b6b45ca538 runqemu: staging -> sysroots
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-25 14:53:37 +00:00
Richard Purdie 1d4f93e8f6 Add SDKMACHINE to simplify SDK control and add to CACHE paths to allow environmental variable control
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-18 10:01:33 +01:00
Richard Purdie d5341fb796 Add poky-trim-schemas post install script to remove unneeded schema locale translations from images (credit to Ross Burton for the initial script)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-08-28 17:11:57 +01:00
Richard Purdie de687629d8 scripts: Update qemux86 to use the vmmouse driver, not wacom and find moblin images
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-10 12:15:48 +01:00
Richard Purdie 05a296b204 scripts/poky-env-internal: Add BB_SRCREV_POLICY to BB_ENV_WHITELIST
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-27 23:18:45 +01:00
Richard Purdie 62d3720668 scripts: Remove autobuilder scripts
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-09 15:28:17 +01:00
Richard Purdie 072545b111 scripts/poky-qemu-internal: Add support for GL passthrough in qemux86 images 2009-01-21 17:40:51 +00:00
Richard Purdie e121f9eb59 scripts/runqemu: Factor image location code into a shell function 2009-01-21 11:35:01 +00:00
Richard Purdie fa89b73e25 scripts/poky-autobuild-moblin: Add moblin-uricheck target support 2009-01-06 09:30:55 +00:00
Richard Purdie eae7eb5bd5 scripts: Update qemu scripts with changes in recent qemu calling conventions and the switch to ext3 images 2009-01-05 16:00:31 +00:00
Richard Purdie a42718c5b9 scripts/poky-autobuild-postprocess-moblin: Share toolchain/sdk output 2008-12-19 15:47:07 +00:00
Richard Purdie 0f918b445e scripts/poky-autobuild-moblin: Update to share moblin-incremental images 2008-12-18 16:43:03 +00:00
Richard Purdie c3f6d464a1 scripts/poky-autobuild-moblin: Add rm_work 2008-12-18 09:26:52 +00:00
Richard Purdie bc1ce63c1d scripts/autobuild-moblin: Configuration fixups 2008-12-17 17:18:27 +00:00
Richard Purdie da743fb70c scripts/poky-qemu-internal: Add usb commandline to nfs mounted images 2008-12-15 10:58:03 +00:00
Richard Purdie a8b0e8a034 scripts/poky-env-internal: Add SSH_AUTH_SOCK and SSH_AGENT_PID to BB_ENV_WHITELIST 2008-12-03 15:41:54 +00:00
Richard Purdie 1e967ea93e scripts/poky-env-internal: Fix PATH 2008-11-06 15:21:36 +00:00
Richard Purdie 9715260c35 scripts/poky-env-internal: Automatically add in additional meta- repositories if found 2008-11-06 14:40:30 +00:00
Richard Purdie 9586e75e26 scripts/poky-autobuild-moblin: Update the proxy config and add rpm packages to the build list 2008-11-04 19:35:06 +00:00
Richard Purdie 777f269259 scripts/poky-autobuild-moblin: Add GIT PROXY variables 2008-11-04 13:51:23 +00:00
Richard Purdie b249501844 scripts/poky-autobuild-moblin: Set GIT_PROXY_COMMAND 2008-11-03 17:20:21 +00:00
Richard Purdie fa88660ee6 scripts/poky-autobuild-moblin: Add extra variables to the whitelist 2008-10-30 23:04:21 +00:00
Rob Bradford 0dc1dc4fbb poky-env-internal: Add quoting to support zsh.
Patch from Carl Simonson <simonsonc@gmail.com>.
2008-10-30 11:14:24 +00:00
Richard Purdie db140d9ce0 scripts/poky-env-internal: Add POKYMODE to BB_ENV_WHITELIST 2008-10-28 22:10:45 +00:00
Richard Purdie 23f08fdde3 scripts/poky-env-internal: Unset BDIR after use 2008-10-28 10:01:03 +00:00
Richard Purdie e4aa77e88e scripts/build: Update the git proxy setup instructions 2008-10-23 15:12:41 +01:00
Richard Purdie 4329a29db5 scripts/poky-env-internal: Add proxy variables to the enviornment whitelist (and OEROOT) 2008-10-22 21:56:30 +01:00