qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 1596204] [NEW] UART problem in raspi2


From: Hadi
Subject: [Qemu-devel] [Bug 1596204] [NEW] UART problem in raspi2
Date: Sat, 25 Jun 2016 16:31:53 -0000

Public bug reported:

I was trying to run the raspberry pi uart example at
https://github.com/dwelch67/raspberrypi/tree/master/uart01 using qemu
2.6.0, but it didn't work.

The steps I took were:
* Edit uart01/memmap and change origin to 0x10000 (which is the address qemu 
starts executing),
* make
* /usr/local/bin/qemu-system-arm -machine raspi2 -m 512M -nographic -gdb 
tcp::26000 -S -kernel uart01.bin

Then start arm-none-eabi-gdb and run following commands:

target remote localhost:26000
symbol-file ./uart01.elf


Then, when I start the program, it seems that the GET32(AUX_MU_LSR_REG)&0x20 
condition never becomes true.

This works on actual hardware, so I am wondering if I'm doing any steps
incorrectly or missing.

** Affects: qemu
     Importance: Undecided
         Status: New

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

Title:
  UART problem in raspi2

Status in QEMU:
  New

Bug description:
  I was trying to run the raspberry pi uart example at
  https://github.com/dwelch67/raspberrypi/tree/master/uart01 using qemu
  2.6.0, but it didn't work.

  The steps I took were:
  * Edit uart01/memmap and change origin to 0x10000 (which is the address qemu 
starts executing),
  * make
  * /usr/local/bin/qemu-system-arm -machine raspi2 -m 512M -nographic -gdb 
tcp::26000 -S -kernel uart01.bin

  Then start arm-none-eabi-gdb and run following commands:

  target remote localhost:26000
  symbol-file ./uart01.elf

  
  Then, when I start the program, it seems that the GET32(AUX_MU_LSR_REG)&0x20 
condition never becomes true.

  This works on actual hardware, so I am wondering if I'm doing any
  steps incorrectly or missing.

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



reply via email to

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