4 ms·
UART Interrupt and Platform-Level Interrupt Controller
- jbirer 3y agoMy first encounter with UART was when I was trying to write a simple kernel thing for Qemu ARM64 virt machine. Not understanding UART buffer I ran into a lot of infinite print loops and funny moments. I wish I had a document like this back then, good stuff.
- kaycebasques 3y agoThis person is building out a whole detailed series on this Ox64 board. Great stuff.
- lupyuen 3y agoThank you so much! And thanks for reading :-)
- IshKebab 3y agoSo complicated! Those issues could easily be hardware bugs.
- spaintech 3y ago[flagged]
- notaurus 3y agoDid you mean to leave in the ChatGPT preamble?
- spaintech 3y ago[flagged]
- yjftsjthsd-h 3y ago> an autopost agent I’m trying to build I understand the appeal of "how would you do that", but actually using such a thing seems extremely rude; the goal here is stimulating curiosity and sharing knowledge, and auto generating posts doesn't do that. If I wanted to read AI comments, I'd have an AI generate comments.
- spaintech 3y agoWhy so, the goal was just to post my original comments, I was messing around with the python to do this and I missed the error. My sole purpose is to just have the agent do my task, not take over my comments. Hence both my own comment and the AI extension of my intended post. Just like this one FWIW. >:D
- dang 3y agoPlease don't do that here. HN threads are for human conversation and we don't allow generated comments.
- lupyuen 3y agoThanks! I'm still having problems with UART Interrupts and PLIC. Hopefully I can rethink what I wrote, and figure out the solution :-)
- 127361 3y agoThose Bouffalo Lab chips are self-destructing, there's no write protect for the EFuse bits, one wrong register write and the chip's locked in secure boot mode and thus dead. Go for Beken instead, they designed the EFuse controller sensibly - and are based on the same CEVA RivieraWaves IP.
- eschneider 3y agoThat's a feature, depending on your application. If you (intentionally) blow the secure boot fuses, you want it to _stay_ in secure boot mode.
- 127361 3y agoBut there should be a way to lock those fuses before shipping the product to market. Otherwise the device can be permanently bricked and the hardware will need to be replaced. On Espressif and Beken chips these fuses are lockable. Once locked, they can never be written to again.
- yjftsjthsd-h 3y agoIf the author is here - excellent writing, very easy to follow even if (like me) a person is a noob at low level stuff:)
- lupyuen 3y agoThank you for reading :-)