Search found 3 matches
- Fri Aug 23, 2019 2:32 pm
- Forum: Bare metal, Assembly language
- Topic: Bare metal BCM43438 Driver
- Replies: 79
- Views: 17233
Re: Bare metal BCM43438 Driver
Maybe we could instrument the linux driver with more logging and check it using this way ? Or is there some kernel option to dump all sdio traffic ? I dumped 2 types of bcm43438 sdio traffic . 1. add some debug print to drivers/mmc/core/sdio_ops.c and core.c. https://github.com/eggman/raspberrypi/b...
- Sun Jun 24, 2018 4:05 am
- Forum: Bare metal, Assembly language
- Topic: Clearing pending Core timer interrupts / Architected timers
- Replies: 2
- Views: 1286
Re: Clearing pending Core timer interrupts / Architected timers
hello I checked generic timer function on QEMU. I not checked real hardware. My handler code is below. Generic timer interrupt clear when set cntv_tval to next value void c_irq_handler(void) { if (read_core0timer_pending() & 0x08 ) { write_cntv_tval(cntfrq); // clear cntv interrupt and set next ...
- Tue May 22, 2018 3:37 am
- Forum: Bare metal, Assembly language
- Topic: Is there any way to emulate timer interrupt in qemu?
- Replies: 10
- Views: 5761
Re: Is there any way to emulate timer interrupt in qemu?
Hi all. I made simple generic timer sample programs. for QEMU -m raspi3 https://github.com/eggman/raspberrypi/tree/master/qemu-raspi3/timer01 for QEMU -m raspi2 https://github.com/eggman/raspberrypi/tree/master/qemu-raspi2/timer01 result log $ make $ make run CNTFRQ : 0x3B9ACA0 CNTV_TVAL: 0x3B91CDC ...