embox / embox

Modular and configurable OS for embedded applications
http://embox.github.io
BSD 2-Clause "Simplified" License
1.17k stars 276 forks source link

microblaze is partially broken after systimer changes #2011

Open alexkalmuk opened 4 years ago

alexkalmuk commented 4 years ago

Something goes wrong after https://github.com/embox/embox/commit/68cab20206b4e1dbf9f1bb44592b54f58863051f. The following assert happens from time to time:


  ______
 |  ____|                                            __          __
 | |___  _ __ ___            ____  ____  ____  _____/ /   _____ / /
 |  ___|| '_ ` _ \          / __ \/ __ \/ __ \/ ___/ /   |_____| |
 | |____| | | | | |_ _ _   / /_/ / /_/ / /_/ (__  )_/    |_____| |
 |______|_| |_| |_(_|_|_)  \____/\____/ .___/____(_)           | |
                                     /_/                        \_\
 ASSERTION FAILED on CPU 0
    at src/arch/microblaze/kernel/irq_handler.c:22
    in function irq_handler

Also, network is broken (there is no irqs from net card).

alexkalmuk commented 4 years ago

After https://github.com/embox/embox/pull/2013 things works, but MMU is disabled. With MMU enabled the assert described in this issue regularly happen.