[PATCH] Modify raspberrypi mm_config_table to map GPIO and registers.

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Oct 16 07:25:33 UTC 2013


On 2013-10-15 22:11, Hesham Moustafa wrote:
>     symbol which may be provided by the BSP specific linker command file.
>
>     You can also use Qemu to debug this problem.
>
> Qemu did not work for me for RaspberryPi BSP. I checked out the repo here [1]
> and built
> it successfully. I ran ticker.exe with the following command line but the GUI
> window shows
> blank black screen.
>
> "qemu-system-arm -kernel kernel.img -cpu arm1176 -m 128 -M raspi -serial stdio
> -append "rw dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1024 bcm2708_fb.fbheight=768
> bcm2708.boardrev=0xf bcm2708.serial=0xcad0eedf
> smsc95xx.macaddr=B8:27:EB:D0:EE:DF sdhci-bcm2708.emmc_clock_freq=100000000
> vc_mem.mem_base=0x1c000000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0
> console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait"
> -snapshot -sd /home/hesham/ISOs/2013-07-26-wheezy-raspbian.img -d guest_errors"
>
> [1] https://github.com/Torlus/qemu-rpi

You can add the "-s -S" options to the Qemu command line and then connect with 
a debugger to see what happens.


-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list