Skip to contentSkip to conversation

.travis.yml: basic compile and check recipies

GIT PULL In review Alex Bennée 2 participants 4 messages Oct 17, 2013

lore
Share & tools
lore
#0 lore raw
Quoted 1 line

From [email protected] # This line is ignored.

Hi Anthony,

Here is a resend of my first pull request as for some reason I sent it to an amazon.com address which is not in MAINTAINERS. Not sure where I got that from so excuse the brain-fart.

It adds a simple .travis.yml profile to the code base. I'm hoping to expand the range of testing once this is merged (the tcg code gen tests are next on my list). However as it stands this already catches build failures and regressions.

Since v4:
- dropped SeaBIOS patch

Cheers,

Alex

Merge remote-tracking branch 'rth/tcg-ldst-6' into staging (2013-10-14 09:59:59 -0700)

The following changes since commit 1680d485777ecf436d724631ea8722cc0c66990e:

are available in the git repository at:

http://github.com/stsquad/qemu.git[1] travis-ci

.travis.yml: basic compile and check recipes (2013-10-15 10:00:10 +0100)

for you to fetch changes up to 90878d2c083629a4ee99b2d03158838b35e218c3:

----------------------------------------------------------------

 .travis.yml | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)
 create mode 100644 .travis.yml

Alex Bennée (1):
.travis.yml: basic compile and check recipes

#1 lore raw

PATCH 1/1 integrator: fix Linux boot failure by emulating dbg

From: Alex Bennée <[email protected]>

Commit 9b8c69243 broke the ability to boot the kernel as the value returned by unassigned_mem_read returned non-zero and left the kernel looping forever waiting for it to change (see integrator_led_set in the kernel code).

Relying on a varying implementation detail is incorrect anyway so this introduces a memory region to emulate the debug/led region on the integrator board. It is currently a basic stub as I have no idea what the behaviour of this region should be so for now it simply returns 0's as the old unassigned_mem_read did.

---
 default-configs/arm-softmmu.mak |  1 +
 hw/arm/integratorcp.c           |  1 +
 hw/misc/Makefile.objs           |  1 +
 hw/misc/arm_intdbg.c            | 90 +++++++++++++++++++++++++++++++++++++++++
 4 files changed, 93 insertions(+)
 create mode 100644 hw/misc/arm_intdbg.c
default-configs/arm-softmmu.mak +1 -0
index ac0815d..a5718d1 100644
@@ -80,3 +80,4 @@ CONFIG_VERSATILE_PCI=y
 CONFIG_VERSATILE_I2C=y
 
 CONFIG_SDHCI=y
+CONFIG_INTEGRATOR_DBG=y
hw/arm/integratorcp.c +1 -0
index 2ef93ed..46dc615 100644
@@ -508,6 +508,7 @@ static void integratorcp_init(QEMUMachineInitArgs *args)
     icp_control_init(0xcb000000);
     sysbus_create_simple("pl050_keyboard", 0x18000000, pic[3]);
     sysbus_create_simple("pl050_mouse", 0x19000000, pic[4]);
+    sysbus_create_simple("integrator_dbg", 0x1a000000, 0);
     sysbus_create_varargs("pl181", 0x1c000000, pic[23], pic[24], NULL);
     if (nd_table[0].used)
         smc91c111_init(&nd_table[0], 0xc8000000, pic[27]);
hw/misc/Makefile.objs +1 -0
index 2578e29..be284f3 100644
@@ -10,6 +10,7 @@ obj-$(CONFIG_VMPORT) += vmport.o
 
 # ARM devices
 common-obj-$(CONFIG_PL310) += arm_l2x0.o
+common-obj-$(CONFIG_INTEGRATOR_DBG) += arm_intdbg.o
 
 # PKUnity SoC devices
 common-obj-$(CONFIG_PUV3) += puv3_pm.o
hw/misc/arm_intdbg.c new file +90 -0

90 lines not on this page · raw message

Signature · 1 line
1.8.4
#2 lore raw

Re: [Qemu-devel] [PATCH] integrator: fix Linux boot failure by emulating dbg

Quoted 7 lines · Alex Bennée

From: Alex Bennée <[email protected]>

Commit 9b8c69243 broke the ability to boot the kernel as the value returned by unassigned_mem_read returned non-zero and left the kernel looping forever waiting for it to change (see integrator_led_set in the kernel code).

Quoted 5 lines

Relying on a varying implementation detail is incorrect anyway so this introduces a memory region to emulate the debug/led region on the integrator board. It is currently a basic stub as I have no idea what the behaviour of this region should be so for now it simply returns 0's as the old unassigned_mem_read did.

Commit message, comment, overlength lines, lack of Copyright line still all unfixed : did you resend the wrong version?

thanks
-- PMM

#3 lore raw

Re: [Qemu-devel] [PATCH] integrator: fix Linux boot failure by emulating dbg

Quoted 4 lines · [email protected] writes:
Quoted 3 lines · Alex Bennée

From: Alex Bennée <[email protected]>

Commit 9b8c69243 broke the ability to boot the kernel as the value

<snip>

Quoted 3 lines

Commit message, comment, overlength lines, lack of Copyright line still all unfixed : did you resend the wrong version?

<snip>

Ooops. I was re-sending the .travis PULL request but forgotten I'd switched branches in the meantime. Serves me right for firing an email out just as I was heading out of the door!

Signature · 1 line
Alex Bennée