All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1734474] [NEW] Maemo does not boot on emulated N800
@ 2017-11-25 19:32 MVoloshin
  2017-11-25 20:48 ` [Qemu-devel] [Bug 1734474] " MVoloshin
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: MVoloshin @ 2017-11-25 19:32 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

I start QEMU with qemu-system-arm-m 130 -M n800 -kernel zImage.1 -mtdblock maemo.img -append "root=/dev/mtdblock3 rootfstype=jffs2"
On QEMU 1.2.0 see "NOKIA" logo and then desktop appears, but on 1.5.0 and newer (including latest versions) I see only white screen and no signs of life. Was this caused by regression or any syntax change?

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: arm maemo n800 nokia qemu

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1734474

Title:
  Maemo does not boot on emulated N800

Status in QEMU:
  New

Bug description:
  I start QEMU with qemu-system-arm-m 130 -M n800 -kernel zImage.1 -mtdblock maemo.img -append "root=/dev/mtdblock3 rootfstype=jffs2"
  On QEMU 1.2.0 see "NOKIA" logo and then desktop appears, but on 1.5.0 and newer (including latest versions) I see only white screen and no signs of life. Was this caused by regression or any syntax change?

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1734474/+subscriptions

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Qemu-devel] [Bug 1734474] Re: Maemo does not boot on emulated N800
  2017-11-25 19:32 [Qemu-devel] [Bug 1734474] [NEW] Maemo does not boot on emulated N800 MVoloshin
@ 2017-11-25 20:48 ` MVoloshin
  2017-11-25 22:03 ` Peter Maydell
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: MVoloshin @ 2017-11-25 20:48 UTC (permalink / raw)
  To: qemu-devel

UPD: Maemo will boot on the second attempt if I reset the emulator
manually.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1734474

Title:
  Maemo does not boot on emulated N800

Status in QEMU:
  New

Bug description:
  I start QEMU with qemu-system-arm-m 130 -M n800 -kernel zImage.1 -mtdblock maemo.img -append "root=/dev/mtdblock3 rootfstype=jffs2"
  On QEMU 1.2.0 see "NOKIA" logo and then desktop appears, but on 1.5.0 and newer (including latest versions) I see only white screen and no signs of life. Was this caused by regression or any syntax change?

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1734474/+subscriptions

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Qemu-devel] [Bug 1734474] Re: Maemo does not boot on emulated N800
  2017-11-25 19:32 [Qemu-devel] [Bug 1734474] [NEW] Maemo does not boot on emulated N800 MVoloshin
  2017-11-25 20:48 ` [Qemu-devel] [Bug 1734474] " MVoloshin
@ 2017-11-25 22:03 ` Peter Maydell
  2020-11-05 13:17 ` Peter Maydell
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Peter Maydell @ 2017-11-25 22:03 UTC (permalink / raw)
  To: qemu-devel

That's a regression, but unfortunately the n800 boards aren't really
maintained (I don't have any test images to hand, and the hardware is
long-gone these days). You could try a git bisect to see what commit
broke, if you want to investigate.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1734474

Title:
  Maemo does not boot on emulated N800

Status in QEMU:
  New

Bug description:
  I start QEMU with qemu-system-arm-m 130 -M n800 -kernel zImage.1 -mtdblock maemo.img -append "root=/dev/mtdblock3 rootfstype=jffs2"
  On QEMU 1.2.0 see "NOKIA" logo and then desktop appears, but on 1.5.0 and newer (including latest versions) I see only white screen and no signs of life. Was this caused by regression or any syntax change?

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1734474/+subscriptions

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 1734474] Re: Maemo does not boot on emulated N800
  2017-11-25 19:32 [Qemu-devel] [Bug 1734474] [NEW] Maemo does not boot on emulated N800 MVoloshin
  2017-11-25 20:48 ` [Qemu-devel] [Bug 1734474] " MVoloshin
  2017-11-25 22:03 ` Peter Maydell
@ 2020-11-05 13:17 ` Peter Maydell
  2020-11-09 20:08 ` MVoloshin
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Peter Maydell @ 2020-11-05 13:17 UTC (permalink / raw)
  To: qemu-devel

Oops, I should have asked for the image to reproduce with back in 2017
when this bug was first filed :-(  I don't suppose you still have it ?

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1734474

Title:
  Maemo does not boot on emulated N800

Status in QEMU:
  New

Bug description:
  I start QEMU with qemu-system-arm-m 130 -M n800 -kernel zImage.1 -mtdblock maemo.img -append "root=/dev/mtdblock3 rootfstype=jffs2"
  On QEMU 1.2.0 see "NOKIA" logo and then desktop appears, but on 1.5.0 and newer (including latest versions) I see only white screen and no signs of life. Was this caused by regression or any syntax change?

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1734474/+subscriptions


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 1734474] Re: Maemo does not boot on emulated N800
  2017-11-25 19:32 [Qemu-devel] [Bug 1734474] [NEW] Maemo does not boot on emulated N800 MVoloshin
                   ` (2 preceding siblings ...)
  2020-11-05 13:17 ` Peter Maydell
@ 2020-11-09 20:08 ` MVoloshin
  2020-11-09 22:01 ` Peter Maydell
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: MVoloshin @ 2020-11-09 20:08 UTC (permalink / raw)
  To: qemu-devel

It's available here: https://4pda.ru/forum/index.php?showtopic=870847

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1734474

Title:
  Maemo does not boot on emulated N800

Status in QEMU:
  New

Bug description:
  I start QEMU with qemu-system-arm-m 130 -M n800 -kernel zImage.1 -mtdblock maemo.img -append "root=/dev/mtdblock3 rootfstype=jffs2"
  On QEMU 1.2.0 see "NOKIA" logo and then desktop appears, but on 1.5.0 and newer (including latest versions) I see only white screen and no signs of life. Was this caused by regression or any syntax change?

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1734474/+subscriptions


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 1734474] Re: Maemo does not boot on emulated N800
  2017-11-25 19:32 [Qemu-devel] [Bug 1734474] [NEW] Maemo does not boot on emulated N800 MVoloshin
                   ` (3 preceding siblings ...)
  2020-11-09 20:08 ` MVoloshin
@ 2020-11-09 22:01 ` Peter Maydell
  2020-11-09 22:32 ` Peter Maydell
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Peter Maydell @ 2020-11-09 22:01 UTC (permalink / raw)
  To: qemu-devel

Thanks. I can confirm that there's been a regression since 1.2.0 that's
still not fixed in master.


** Changed in: qemu
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1734474

Title:
  Maemo does not boot on emulated N800

Status in QEMU:
  Confirmed

Bug description:
  I start QEMU with qemu-system-arm-m 130 -M n800 -kernel zImage.1 -mtdblock maemo.img -append "root=/dev/mtdblock3 rootfstype=jffs2"
  On QEMU 1.2.0 see "NOKIA" logo and then desktop appears, but on 1.5.0 and newer (including latest versions) I see only white screen and no signs of life. Was this caused by regression or any syntax change?

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1734474/+subscriptions


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 1734474] Re: Maemo does not boot on emulated N800
  2017-11-25 19:32 [Qemu-devel] [Bug 1734474] [NEW] Maemo does not boot on emulated N800 MVoloshin
                   ` (4 preceding siblings ...)
  2020-11-09 22:01 ` Peter Maydell
@ 2020-11-09 22:32 ` Peter Maydell
  2020-11-09 22:46 ` Peter Maydell
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Peter Maydell @ 2020-11-09 22:32 UTC (permalink / raw)
  To: qemu-devel

Bisection thinks commit cb5ef3fa1871522a08 is the cause.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1734474

Title:
  Maemo does not boot on emulated N800

Status in QEMU:
  Confirmed

Bug description:
  I start QEMU with qemu-system-arm-m 130 -M n800 -kernel zImage.1 -mtdblock maemo.img -append "root=/dev/mtdblock3 rootfstype=jffs2"
  On QEMU 1.2.0 see "NOKIA" logo and then desktop appears, but on 1.5.0 and newer (including latest versions) I see only white screen and no signs of life. Was this caused by regression or any syntax change?

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1734474/+subscriptions


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 1734474] Re: Maemo does not boot on emulated N800
  2017-11-25 19:32 [Qemu-devel] [Bug 1734474] [NEW] Maemo does not boot on emulated N800 MVoloshin
                   ` (5 preceding siblings ...)
  2020-11-09 22:32 ` Peter Maydell
@ 2020-11-09 22:46 ` Peter Maydell
  2020-11-10 15:13 ` Peter Maydell
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Peter Maydell @ 2020-11-09 22:46 UTC (permalink / raw)
  To: qemu-devel

This change on current head-of-git, which is effectively just reverting the logic-change part of commit cb5ef3fa1871522a08, is sufficient to allow the n800 image to boot again. 
But that commit was trying to fix a bug, so we probably need to look more carefully at the logic rather than just reverting it...

diff --git a/hw/misc/tmp105.c b/hw/misc/tmp105.c
index b47120492a..1813477268 100644
--- a/hw/misc/tmp105.c
+++ b/hw/misc/tmp105.c
@@ -161,14 +161,12 @@ static int tmp105_tx(I2CSlave *i2c, uint8_t data)
 {
     TMP105State *s = TMP105(i2c);
 
-    if (s->len == 0) {
+    if (!s->len++) {
         s->pointer = data;
-        s->len++;
     } else {
         if (s->len <= 2) {
             s->buf[s->len - 1] = data;
         }
-        s->len++;
         tmp105_write(s);
     }

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1734474

Title:
  Maemo does not boot on emulated N800

Status in QEMU:
  Confirmed

Bug description:
  I start QEMU with qemu-system-arm-m 130 -M n800 -kernel zImage.1 -mtdblock maemo.img -append "root=/dev/mtdblock3 rootfstype=jffs2"
  On QEMU 1.2.0 see "NOKIA" logo and then desktop appears, but on 1.5.0 and newer (including latest versions) I see only white screen and no signs of life. Was this caused by regression or any syntax change?

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1734474/+subscriptions


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [Bug 1734474] Re: Maemo does not boot on emulated N800
  2017-11-25 19:32 [Qemu-devel] [Bug 1734474] [NEW] Maemo does not boot on emulated N800 MVoloshin
                   ` (6 preceding siblings ...)
  2020-11-09 22:46 ` Peter Maydell
@ 2020-11-10 15:13 ` Peter Maydell
  2021-04-29  9:52 ` Thomas Huth
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Peter Maydell @ 2020-11-10 15:13 UTC (permalink / raw)
  To: qemu-devel

Should be fixed by this patch series:
https://patchew.org/QEMU/20201110150023.25533-1-peter.maydell@linaro.org/

Commit cb5ef3fa1871522a08 is correct -- it just exposed an underlying
bug in the TMP105 temperature sensor device.


** Changed in: qemu
       Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1734474

Title:
  Maemo does not boot on emulated N800

Status in QEMU:
  In Progress

Bug description:
  I start QEMU with qemu-system-arm-m 130 -M n800 -kernel zImage.1 -mtdblock maemo.img -append "root=/dev/mtdblock3 rootfstype=jffs2"
  On QEMU 1.2.0 see "NOKIA" logo and then desktop appears, but on 1.5.0 and newer (including latest versions) I see only white screen and no signs of life. Was this caused by regression or any syntax change?

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1734474/+subscriptions


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 1734474] Re: Maemo does not boot on emulated N800
  2017-11-25 19:32 [Qemu-devel] [Bug 1734474] [NEW] Maemo does not boot on emulated N800 MVoloshin
                   ` (7 preceding siblings ...)
  2020-11-10 15:13 ` Peter Maydell
@ 2021-04-29  9:52 ` Thomas Huth
  2021-04-29 10:08 ` Philippe Mathieu-Daudé
  2021-04-29 11:04 ` Thomas Huth
  10 siblings, 0 replies; 12+ messages in thread
From: Thomas Huth @ 2021-04-29  9:52 UTC (permalink / raw)
  To: qemu-devel

** Tags removed: qemu

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1734474

Title:
  Maemo does not boot on emulated N800

Status in QEMU:
  In Progress

Bug description:
  I start QEMU with qemu-system-arm-m 130 -M n800 -kernel zImage.1 -mtdblock maemo.img -append "root=/dev/mtdblock3 rootfstype=jffs2"
  On QEMU 1.2.0 see "NOKIA" logo and then desktop appears, but on 1.5.0 and newer (including latest versions) I see only white screen and no signs of life. Was this caused by regression or any syntax change?

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1734474/+subscriptions


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 1734474] Re: Maemo does not boot on emulated N800
  2017-11-25 19:32 [Qemu-devel] [Bug 1734474] [NEW] Maemo does not boot on emulated N800 MVoloshin
                   ` (8 preceding siblings ...)
  2021-04-29  9:52 ` Thomas Huth
@ 2021-04-29 10:08 ` Philippe Mathieu-Daudé
  2021-04-29 11:04 ` Thomas Huth
  10 siblings, 0 replies; 12+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-04-29 10:08 UTC (permalink / raw)
  To: qemu-devel

Fixed in v5.2.0?
ab135622cf4 ("tmp105: Correct handling of temperature limit checks")
e1919889ef7 ("hw/misc/tmp105: reset the T_low and T_High registers")

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1734474

Title:
  Maemo does not boot on emulated N800

Status in QEMU:
  In Progress

Bug description:
  I start QEMU with qemu-system-arm-m 130 -M n800 -kernel zImage.1 -mtdblock maemo.img -append "root=/dev/mtdblock3 rootfstype=jffs2"
  On QEMU 1.2.0 see "NOKIA" logo and then desktop appears, but on 1.5.0 and newer (including latest versions) I see only white screen and no signs of life. Was this caused by regression or any syntax change?

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1734474/+subscriptions


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 1734474] Re: Maemo does not boot on emulated N800
  2017-11-25 19:32 [Qemu-devel] [Bug 1734474] [NEW] Maemo does not boot on emulated N800 MVoloshin
                   ` (9 preceding siblings ...)
  2021-04-29 10:08 ` Philippe Mathieu-Daudé
@ 2021-04-29 11:04 ` Thomas Huth
  10 siblings, 0 replies; 12+ messages in thread
From: Thomas Huth @ 2021-04-29 11:04 UTC (permalink / raw)
  To: qemu-devel

Yes, I think we can close this now.

** Changed in: qemu
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1734474

Title:
  Maemo does not boot on emulated N800

Status in QEMU:
  Fix Released

Bug description:
  I start QEMU with qemu-system-arm-m 130 -M n800 -kernel zImage.1 -mtdblock maemo.img -append "root=/dev/mtdblock3 rootfstype=jffs2"
  On QEMU 1.2.0 see "NOKIA" logo and then desktop appears, but on 1.5.0 and newer (including latest versions) I see only white screen and no signs of life. Was this caused by regression or any syntax change?

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1734474/+subscriptions


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-04-29 11:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-25 19:32 [Qemu-devel] [Bug 1734474] [NEW] Maemo does not boot on emulated N800 MVoloshin
2017-11-25 20:48 ` [Qemu-devel] [Bug 1734474] " MVoloshin
2017-11-25 22:03 ` Peter Maydell
2020-11-05 13:17 ` Peter Maydell
2020-11-09 20:08 ` MVoloshin
2020-11-09 22:01 ` Peter Maydell
2020-11-09 22:32 ` Peter Maydell
2020-11-09 22:46 ` Peter Maydell
2020-11-10 15:13 ` Peter Maydell
2021-04-29  9:52 ` Thomas Huth
2021-04-29 10:08 ` Philippe Mathieu-Daudé
2021-04-29 11:04 ` Thomas Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.