<GitHub149>
NetBSD/master a8cfe1f Yann Sionneau: clock driver: now calls hardclock callback for time accounting
<GitHub182>
[NetBSD] fallen force-pushed master from a8cfe1f to 2e29367: http://git.io/gXHqXA
<GitHub182>
NetBSD/master 2e29367 Yann: clock driver: now calls hardclock callback for time accounting
sh4rm4 has joined #m-labs
sh4rm4 has quit [Ping timeout: 252 seconds]
sh4rm4 has joined #m-labs
sh4rm4 has quit [Ping timeout: 252 seconds]
sh4rm4 has joined #m-labs
sh4rm4 has quit [Remote host closed the connection]
sh4rm4 has joined #m-labs
sb0 has quit [Ping timeout: 240 seconds]
sb0 has joined #m-labs
sb0 has quit [Ping timeout: 240 seconds]
sb0 has joined #m-labs
bvernoux has joined #m-labs
sb0 has quit [Ping timeout: 240 seconds]
mumptai has joined #m-labs
sb0 has joined #m-labs
* ysionneau
trying to add breakpoint at 0x40000000 with "hbreak" this time
<ysionneau>
it says "Hardware assisted breakpoint 1 at 0x40000000" , maybe it will work better :)
<ysionneau>
hum I get
<ysionneau>
Program received signal SIGTRAP, Trace/breakpoint trap.
<ysionneau>
0x00000000 in ?? ()
<ysionneau>
not what I wanted :(
<ysionneau>
now I put a breakpoint in the "boot_helper" routine of the BIOS, which basically does the final jump by flushing Icache and doing "call r5"
<ysionneau>
I must say I'm sorry for calling gdb names, gdb on m1 seems to work really well, when the cpu is not trying to execute ELF header :)
<bvernoux>
ysionneau: if you want to debug boot stuff code a good hint is maybe to use a good free simulator like Lauterbach one's
<ysionneau>
simulator ?
<ysionneau>
I have qemu for simulation
<ysionneau>
I have lauterbach at the office for MIPS
<ysionneau>
it works nicely indeed (I use it for jtag)
<ysionneau>
stekern: https://asciinema.org/a/8288 not so easy to watch since most of the time is waiting and the boot is done in the blink of an eye and flooded by IRQ errors ^^
<ysionneau>
after fixing irq stuff it will be nicer
<ysionneau>
bvernoux: I don't think they have jtag probes or simulators for lm32, do they ?
<bvernoux>
they have
gric has joined #m-labs
<bvernoux>
they just support all chipset existing
<bvernoux>
mainly instruction set
<bvernoux>
and a basic timer
<larsc>
right ;)
<bvernoux>
also irq work
<bvernoux>
but nothing specific to the core
gric has quit [Client Quit]
<bvernoux>
there is even code trace and code coverage in simulator without any limitation (except size 16Millions traces)
<ysionneau>
I think qemu is really good "enough" for my use case
<ysionneau>
plus it supports MMU
gric has joined #m-labs
gric has quit [Client Quit]
<ysionneau>
and I could also run lm32 in iverilog or Isim
<ysionneau>
but it's slow
<bvernoux>
yes maybe qemu is better
gric has joined #m-labs
<bvernoux>
for MMU stuff
<bvernoux>
whats the exact version of the MCU ?
<ysionneau>
LatticeMico32 , with cache, MMU, HW breakpoints, no jtag
<ysionneau>
there is no real version number I presume