qemu-ppc
[Top][All Lists]
Advanced

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

[Qemu-ppc] How to write to the serial device on the ppce500 board?


From: Andreas Rasmusson
Subject: [Qemu-ppc] How to write to the serial device on the ppce500 board?
Date: Thu, 27 Aug 2015 11:19:43 +0200


Hi

I'm using qemu 2.3.93 and I'm experimenting with the ppce500 board, 
booting with it u-boot.e500.
It starts ok and prints to the console. 

My own bare-metal hello-world program that simply writes to 0xe0004500
does not, unfortunately :-/, 
so I suspect that u-boot does some more initialisation of the hardware 
before it writes to 0xe0004500.

u-boot.e500 is only included as a binary file in qemu's source-tree
   http://git.qemu.org/?p=qemu.git;a=history;f=pc-bios/u-boot.e500;hb=HEAD

My questions.
1. Is its source code available for me to study somewhere?
2. Do I need to configure something before I can write to the serial port?
  (I'm suspecting the MMU since when I write to 0xe0004500 I get
  a POWERPC_EXCP_DTLB (set in  mmu_helper.c:1647)



reply via email to

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