Homebrew [Release] Linux for the 3DS

  • Thread starter Thread starter xerpi
  • Start date Start date
  • Views Views 398,432
  • Replies Replies 870
  • Likes Likes 118
Thanks and any news for sd i hope

The problem with the SD is that only the ARM9 processor has access to the SD registers, so in order to be able to use the SD on Linux (running on ARM11), we need to write a custom ARM9 firmware/kernel that acts as a server/proxy between the SD card registers and Linux, just like the 3DS OS does. See https://3dbrew.org/wiki/PXI_Registers
 
Last edited by xerpi,
The problem with the SD is that only the ARM9 processor has access to the SD registers, so in order to be able to use the SD on Linux (running on ARM11), we need to write a custom ARM9 firmware/kernel that acts as a server/proxy between the SD card registers and Linux, just like the 3DS OS does. See https://3dbrew.org/wiki/PXI_Registers

Wouldn't it be better/safer to just have the ARM9 run whatever it does in games/os/homebrew menu and interface it the same way as other homebrews, but as a "driver"?
if you started poking running custom proxies on the arm9 and it bugs out, it could mess up your sd card, or worse, something in nand could be fuxxored :ninja:

New version with touchscreen support is here! It also has updated Wayland and Weston (to version 1.10).
Same download link: https://drive.google.com/file/d/0ByXgF-rsC8PTWVNlZmtCX1F1M0E/view?usp=sharing
Hint: run weston-simple-touch to test the touchscreen easily B-)

Awesome!
 
Wouldn't it be better/safer to just have the ARM9 run whatever it does in games/os/homebrew menu and interface it the same way as other homebrews, but as a "driver"?
if you started poking running custom proxies on the arm9 and it bugs out, it could mess up your sd card, or worse, something in nand could be fuxxored :ninja:

The problem with the original ARM9 kernel is that it doesn't offer sector-based disk read/writes, it only works with FAT32. Yeah I have to be very careful to not mess up the NAND, but well, libnds has the same problem because the SDMMC registers are also the same on the Nintendo DS.
 
The problem with the original ARM9 kernel is that it doesn't offer sector-based disk read/writes, it only works with FAT32. Yeah I have to be very careful to not mess up the NAND, but well, libnds has the same problem because the SDMMC registers are also the same on the Nintendo DS.

aaah, okay, got it.
 
The problem with the original ARM9 kernel is that it doesn't offer sector-based disk read/writes, it only works with FAT32. Yeah I have to be very careful to not mess up the NAND, but well, libnds has the same problem because the SDMMC registers are also the same on the Nintendo DS.
Here's my idea... LinuxNAND, a specalized emu/redNAND that is made for the Lunix 3DS port.
 
More improvements...I've managed to get the I2C driver working, so I've started a RTC driver to be able to get the current date. It's almost working but getting the month and day of the month is missing for now :/
I've also updated the Buildroot .config for those compiling Linux by themselves.
 
More improvements...I've managed to get the I2C driver working, so I've started a RTC driver to be able to get the current date. It's almost working but getting the month and day of the month is missing for now :/
I've also updated the Buildroot .config for those compiling Linux by themselves.

Does this mean we'll be able to reboot/shutdown the console from Linux soon (since I know it needs i2c to work on the 3DS side.)
 
@xerpi
Is there anything that needs to be done before loading the linux itself to be able to use the touchscreen? I ask, because when I boot it directly from arm9loaderhax it isn't working for me.
 
Hi there!
First of all, thanks for your effort, I enjoy this homebrew a lot!
But weston-simple-touch doesn't seem to work for me. I always get an error message.
I'll add a picture of the error to this post later.

Greetings!
 
Hi there!
First of all, thanks for your effort, I enjoy this homebrew a lot!
But weston-simple-touch doesn't seem to work for me. I always get an error message.
I'll add a picture of the error to this post later.

Greetings!
I guess you have started Weston first (/start-weston.sh), then opened the Weston terminal, and typed: weston-simple-touch?
 
  • Like
Reactions: Sumsquat
I cant get pass login. I can enter the login but not the password. It wont input anything
 
Last edited by xtheman, , Reason: said what when i meant wont

Site & Scene News

Popular threads in this forum