Re: [Article] NuttX on Ox64 BL808 RISC-V SBC: Emulated in the Web Browser

2024-01-20 Thread Alan C. Assis
Really cool Lup! Kudos!!! Actually booting NuttX from a floppy drive should be really nice too. BR, Alan On Sat, Jan 20, 2024 at 8:43 PM Lee, Lup Yuen wrote: > In olden times we had Computer Games (plus Operating Systems) on 5.25-inch > Floppy Disks. And we’d boot the Floppy Disks

Re: [Article] NuttX on Ox64 BL808 RISC-V SBC: Emulated in the Web Browser

2024-01-20 Thread Tomek CEDRO
On Sun, Jan 21, 2024 at 12:43 AM Lee, Lup Yuen wrote: > In olden times we had Computer Games (plus Operating Systems) on 5.25-inch > Floppy Disks. And we’d boot the Floppy Disks (clackety-clack) on Apple II > Computers with 64 KB RAM. > > Today (40 years later) we boot microSD Cards

[Article] NuttX on Ox64 BL808 RISC-V SBC: Emulated in the Web Browser

2024-01-20 Thread Lee, Lup Yuen
In olden times we had Computer Games (plus Operating Systems) on 5.25-inch Floppy Disks. And we’d boot the Floppy Disks (clackety-clack) on Apple II Computers with 64 KB RAM. Today (40 years later) we boot microSD Cards (clickety-click) on Ox64 BL808 RISC-V Single-Board Computers with 64 MB RAM.

Re: [Article] NuttX on Ox64 BL808 RISC-V SBC: Nim Programming Language

2024-01-01 Thread Alan C. Assis
Happy New Year NuttXers, Really cool Lup! Kudos!!! BR, Alan On Sun, Dec 31, 2023 at 9:22 PM Lee, Lup Yuen wrote: > Happy New Year! 2024 is here and we’re running NuttX on Single-Board > Computers with plenty of RAM. Like Pine64 Ox64 BL808 SBC with 64 MB RAM! > > In this article, we create a

Re: [Article] NuttX on Ox64 BL808 RISC-V SBC: Nim Programming Language

2023-12-31 Thread MIGUEL ALEXANDRE WISINTAINER
Happy new year Enviado do meu iPhone > Em 31 de dez. de 2023, à(s) 21:39, Tomek CEDRO escreveu: > > HAPPY NEW YEAR FOLKS!! LET ALL OUR GOOD NUTTX DREAMS COME TRUE!! :-) > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Re: [Article] NuttX on Ox64 BL808 RISC-V SBC: Nim Programming Language

2023-12-31 Thread Tomek CEDRO
HAPPY NEW YEAR FOLKS!! LET ALL OUR GOOD NUTTX DREAMS COME TRUE!! :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

[Article] NuttX on Ox64 BL808 RISC-V SBC: Nim Programming Language

2023-12-31 Thread Lee, Lup Yuen
Happy New Year! 2024 is here and we’re running NuttX on Single-Board Computers with plenty of RAM. Like Pine64 Ox64 BL808 SBC with 64 MB RAM! In this article, we create a Blinky LED app with a Python-like, Garbage-Collected Language that compiles to C: Nim Programming Language. Garbage-Collected

Re: [Article] NuttX on Ox64 BL808 RISC-V SBC: Bare Metal Experiments

2023-12-17 Thread Lee, Lup Yuen
Thanks Greg, Wireless 802.15.4 on NuttX sounds very interesting! It might run on Ox64 BL808, but the WiFi / BLE / Zigbee parts of BL808 SoC are closed source. Hopefully Bouffalo Lab will reveal the wireless internals someday. Right now NuttX runs on the 64-bit Core (D0) of the BL808 SoC, and it

Re: [Article] NuttX on Ox64 BL808 RISC-V SBC: Bare Metal Experiments

2023-12-16 Thread Gregory Nutt
The Zigbee support is interesting.  NuttX does not have a Zigbee stack, but does have IEEE 802.15.4 which works with the same physical radio. The IEEE 802.15.4 logic is quite an accomplishment.  The original development was done by  Anthony Merlino and Sebasiten Lorquet.  I see that there

Re: [Article] NuttX on Ox64 BL808 RISC-V SBC: Bare Metal Experiments

2023-12-16 Thread Tomek CEDRO
Congratulations Lup!! :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

[Article] NuttX on Ox64 BL808 RISC-V SBC: Bare Metal Experiments

2023-12-16 Thread Lee, Lup Yuen
Pine64 Ox64 BL808 (64-bit RISC-V SBC) is now supported in NuttX Mainline! (Many thanks to my reviewers) Ox64 BL808 is an affordable $8 SBC with: - 3 x RISC-V Cores (T-Head 64-bit / 32-bit) - Networking: Ethernet, WiFi, Bluetooth LE, Zigbee - Peripheral Interfaces: UART (Serial), I2C, SPI, USB,

Re: [Article] NuttX on Ox64 BL808 RISC-V SBC: Fixed the UART Interruptand Platform-Level Interrupt Controller

2023-12-11 Thread Lee, Lup Yuen
> yf > > > > > Original > > > > From:"Lee, Lup Yuen"< lu...@appkaki.com ; > > Date:2023/12/10 7:11 > > To:"dev"< dev@nuttx.apache.org ; > > Subject:[Article] NuttX on Ox64 BL808 RISC-V SBC: Fixed the UART > Interruptand Platform-

Re: [Article] NuttX on Ox64 BL808 RISC-V SBC: Fixed the UART Interrupt and Platform-Level Interrupt Controller

2023-12-10 Thread Lee, Lup Yuen
Thanks Alan! Nope sorry I haven't tested on Sipeed M1s, I should get it someday. I'm preparing a PR that will extend the RISC-V MMU Flags from 32-bit to 64-bit, because: (1) T-Head C906 (BL808) needs us to set Bits 59 to 63 in a Leaf Page Table Entry to configure the Memory Type: Cacheable /

Re: [Article] NuttX on Ox64 BL808 RISC-V SBC: Fixed the UART Interrupt and Platform-Level Interrupt Controller

2023-12-10 Thread Alan C. Assis
Hi Lup, Nice to know you found the issue (and Linux errata for T-Head C906 helped), that BUG is really strange. Probably a similar issue could exist on MILK-V board too. Did you test NuttX on Sipeed M1s Dock AI + IoT BL808 RISC-V? Unfortunately Pine 0x64 doesn't ship to Brazil (probably many

[Article] NuttX on Ox64 BL808 RISC-V SBC: Fixed the UART Interrupt and Platform-Level Interrupt Controller

2023-12-09 Thread Lee, Lup Yuen
Last week we walked through the Serial Console for Pine64 Ox64 BL808 64-bit RISC-V Single-Board Computer. And we hit some illogical impossible problems on NuttX for Ox64: (1) Console Input is always empty. (Can’t enter any Console Commands) (2) Interrupt Claim is forever 0. (Ox64 won’t tell us

Re: [Article] NuttX on Ox64 BL808 RISC-V SBC: UART Interrupt and Platform-Level Interrupt Controller (PLIC)

2023-12-02 Thread Alan C. Assis
Very cool! Your graphics are very didact too! It could be useful for the Milk-V port as well! Best Regards, Alan On Sat, Dec 2, 2023 at 8:06 PM Lee, Lup Yuen wrote: > Our article today is all about RISC-V Interrupts on the tiny adorable > Pine64 Ox64 BL808 64-bit Single-Board Computer

[Article] NuttX on Ox64 BL808 RISC-V SBC: UART Interrupt and Platform-Level Interrupt Controller (PLIC)

2023-12-02 Thread Lee, Lup Yuen
Our article today is all about RISC-V Interrupts on the tiny adorable Pine64 Ox64 BL808 64-bit Single-Board Computer (based on Bouffalo Lab BL808 SoC)… (1) What’s inside the Platform-Level Interrupt Controller (PLIC) (2) Setting up the PLIC at startup (3) Enabling the PLIC Interrupt for Serial

Re: [Article] NuttX on Ox64 BL808 RISC-V SBC: NuttX Apps and Initial RAM Disk

2023-11-25 Thread Tomek CEDRO
On Sun, Nov 26, 2023 at 12:42 AM Lee, Lup Yuen wrote: > (..) > Check out the article: https://lupyuen.codeberg.page/articles/app.html Whoah! You are a Cyborg Lup :-) :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

[Article] NuttX on Ox64 BL808 RISC-V SBC: NuttX Apps and Initial RAM Disk

2023-11-25 Thread Lee, Lup Yuen
In Asia the wise folks say: “One can hide on a certain day but cannot hide for a long time / 躲过初一,躲不过十五” In other words: “Transformers? More than meets the eye!” In this article, we go behind the shadow puppetry (wayang kulit) and deceptive simplicity of NuttX Applications inside Apache NuttX

Re: [Article] NuttX on Ox64 BL808 RISC-V SBC: Sv39 Memory Management Unit

2023-11-19 Thread Lee, Lup Yuen
Thanks Ken! Yep you read my mind, I'll write about NuttX Apps in the next article: (1) What's inside the simplest "Hello World" app (2) How NuttX Apps call NuttX Kernel with "ecall" (3) Bundling the NuttX Apps into the Initial RAM Disk (initrd) for Ox64 BL808 SBC. (We'll append the initrd to the

Re: [Article] NuttX on Ox64 BL808 RISC-V SBC: Sv39 Memory Management Unit

2023-11-19 Thread ken . dickey
Lup, Another great article! One suggestion. In section 10 "Swap the SATP Register" You mention: "Huh? Our Applications can meddle with the I/O Memory? Nope they can’t, because the “U” User Permission is denied. Therefore we’re all safe and well protected! " I may have missed the

Re: [Article] NuttX on Ox64 BL808 RISC-V SBC: Sv39 Memory Management Unit

2023-11-18 Thread Tomek CEDRO
On Sun, Nov 19, 2023 at 12:42 AM Lee, Lup Yuen wrote: > Memory Management Unit (MMU) is the hardware inside our Single-Board > Computer (SBC) that implements Memory Protection and Virtual Memory. > (..) > Check out the article: https://lupyuen.codeberg.page/articles/mmu.html Amazing read Lup.. as

[Article] NuttX on Ox64 BL808 RISC-V SBC: Sv39 Memory Management Unit

2023-11-18 Thread Lee, Lup Yuen
Memory Management Unit (MMU) is the hardware inside our Single-Board Computer (SBC) that implements Memory Protection and Virtual Memory. Sv39 is the RISC-V MMU inside the Pine64 Ox64 SBC, based on Bouffalo Lab BL808 SoC. In this article, we boot NuttX on Ox64 SBC to find out how Sv39 MMU works

Re: [Article] NuttX on Ox64 BL808 RISC-V SBC

2023-11-04 Thread Tomek CEDRO
wow! :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Re: [Article] NuttX on Ox64 BL808 RISC-V SBC

2023-11-04 Thread MIGUEL ALEXANDRE WISINTAINER
Nice! I have here some units. I will test! Enviado do meu iPhone > Em 4 de nov. de 2023, à(s) 10:40, Lee, Lup Yuen escreveu: > > Pine64 Ox64 is an affordable RISC-V SBC ($8) based on Bouffalo Lab BL808 > SoC with 3 (Asymmetric) RISC-V Cores: > > (1) D0 Multimedia Core: 64-bit T-Head C906

[Article] NuttX on Ox64 BL808 RISC-V SBC

2023-11-04 Thread Lee, Lup Yuen
Pine64 Ox64 is an affordable RISC-V SBC ($8) based on Bouffalo Lab BL808 SoC with 3 (Asymmetric) RISC-V Cores: (1) D0 Multimedia Core: 64-bit T-Head C906 with MIPI CSI, Neural Processing Unit (2) M0 Wireless Core: 32-bit T-Head E907 with WiFi, Bluetooth LE, Zigbee, Audio, USB, Ethernet (3) Low