qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1805445] Re: QEMU arm virt machine was stopped by STMF


From: Igor
Subject: [Qemu-devel] [Bug 1805445] Re: QEMU arm virt machine was stopped by STMFD command while debug process
Date: Wed, 28 Nov 2018 17:02:44 -0000

Hm, I am create a new machine based on palmetto-bmc 
static const AspeedBoardConfig aspeed_boards[] = ...{
        .name      = MACHINE_TYPE_NAME("texet-tm-333"),
        .desc      = "Spreadtrum teXet TM-333 (ARM926EJ-S)",
        .soc_name  = "ast2500-a1",                         
        .hw_strap1 = SPREADTRUM_BMC_HW_STRAP1,
        .fmc_model = "n25q032a11",h
        .spi_model = "mx25l3205d",
        .num_cs    = 1,
        .i2c_init  = spreadtrum_bmc_i2c_init,
    },...

and change soc_name to the ast2500-a1, because #define AST2500_SDRAM_BASE 
0x80000000 on the aspeed_soc.c also i change flash for my 4Mb fullflash image. 
Building qemu and this is work fine!
The STR command work correctly and STMFD/PUSH/POP also work fine. (The SP 
register was equal 0 in past bug)

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

Title:
  QEMU arm virt machine was stopped by STMFD command while debug process

Status in QEMU:
  New

Bug description:
  Hello, i have a big problem with QEMU arm virtual machine. So...
  I run QEMU machine with bare-metal ThreadX fullflash from Texet TM-333 phone  
(Spreadtrum platform)
  [CODE]qemu-system-arm -S -gdb tcp::1234,ipv4 -drive 
file=C:\cygwin64\home\flash.bin,if=mtd,format=raw -M palmetto-bmc -cpu arm926 
-m 64M[/CODE]
  I use palmetto-bmc platform because it have ARM926EJ-S core and support SPI 
Flash.
  Then, i attach to gdb qemu process from IDA and run code step-by-step.

  
  When the IDA run 00032534 STR R11, [R10] command

  
  instead of store R11 on R10 adress, it jump 000328DC STMFD SP!, {R0-R12,LR} 
instruction...

  and virt machine not execute new instruction...
  [IMG]https://pp.userapi.com/c850624/v850624111/528f3/N7FTpgloWVU.jpg[/IMG]

  and why i did not change flash from n25q256a to n25q032a11 in aspeed.c
  without rebuild qemu?

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]