The $8 Linux Computer
thelittleengineerthatcould.blogspot.com
The $8 Linux Computer
1–10 of 166 posts
Re: The $8 Linux Computer
#2How does Linux handle this? Can you just run an executable and have it automatically scheduled onto whichever cores can execute it? Wouldn't the kernel itself have to be compiled for both architectures?
EDIT: Maybe I was overthinking this -- I found what looks like the devicetree file for the BL808, and it seems like only the single RV64 core is supported:
https://lore.kernel.org/lkml/20221127132448.4034-7-jszhang@k...
Re: The $8 Linux Computer
#3Based on a brief bit of googling about this board's CPU (the Bouffalo Lab BL808), it seems to have one RV64 and two RV32 cores. The RV64 core may be capable of running RV32 machine code, if the OS sets various flags correctly, but the reverse isn't possible without emulation. How does Linux handle this? Can you just run an executable and have it automatically scheduled onto whichever cores can execute it? Wouldn't th…
Re: The $8 Linux Computer
#4Based on a brief bit of googling about this board's CPU (the Bouffalo Lab BL808), it seems to have one RV64 and two RV32 cores. The RV64 core may be capable of running RV32 machine code, if the OS sets various flags correctly, but the reverse isn't possible without emulation. How does Linux handle this? Can you just run an executable and have it automatically scheduled onto whichever cores can execute it? Wouldn't th…
Re: The $8 Linux Computer
#5$10.80 RISC-V AIoT module supports Linux:
https://news.ycombinator.com/item?id=33874032
EDIT: This is the official website for the Sipeed M1s showcasing the specs and application video for AIoT:
Re: The $8 Linux Computer
#6Based on a brief bit of googling about this board's CPU (the Bouffalo Lab BL808), it seems to have one RV64 and two RV32 cores. The RV64 core may be capable of running RV32 machine code, if the OS sets various flags correctly, but the reverse isn't possible without emulation. How does Linux handle this? Can you just run an executable and have it automatically scheduled onto whichever cores can execute it? Wouldn't th…
It's not, xlen is fixed on that core like most RISC-V cores.
> How does Linux handle this? Can you just run an executable and have it automatically scheduled onto whichever cores can execute it? Wouldn't the kernel itself have to be compiled for both architectures?
With asymmetric multiprocessing like you get with OpenAMP. The RV32 cores are more real time management cores. One core only has an MPU, no MMU. The other core doesn't even have that. So run something like freertos (or just a superloop) on those cores to babysit realtime tasks and either respond quicker and/or more deterministically than Linux can, or avoid waking up the Linux core.
Re: The $8 Linux Computer
#7Re: The $8 Linux Computer
#8Can this chip output HDMI? I looked at the datasheet and it didn't look like it: https://github.com/bouffalolab/bl_docs/blob/main/BL808_DS/en...
Re: The $8 Linux Computer
#9Can this chip output HDMI? I looked at the datasheet and it didn't look like it: https://github.com/bouffalolab/bl_docs/blob/main/BL808_DS/en...
The very similar Allwinner D1 can push HDMI though. It's got the same main core (T-Head c906) and is about the same price point. That SoC doesn't have the nice wireless interfaces builtin though.
Re: The $8 Linux Computer
#10I couldn't find any info on this from its datasheet.