Upgrade to Pro — share decks privately, control downloads, hide ads and more …

詳解・電子辞書で Linux がブートするまで / boot-linux-on-sha...

Takumi Sueda
October 31, 2021

詳解・電子辞書で Linux がブートするまで / boot-linux-on-sharp-brain-explained

Brain Hackers Meetup #1 一般発表

Takumi Sueda

October 31, 2021
Tweet

More Decks by Takumi Sueda

Other Decks in Technology

Transcript

  1. 3

  2. SHARP Windows CE 
 CE exe (PE) 2011 TOSHIBA TMPA

    9 10 CRAXBG (armv 4 l) + 64 MiB DRAM Windows CE 2012 2020 NXP i.MX 2 8 (armv 5 tej) + 12 8 MiB DRAM Windows CE 2021 NXP i.MX 7 ULP (armv 7 -a, armv 7 e-m) + 128 MiB DRAM μITRON RTOS : SHARP Brain 4 https://jp.sharp/edictionary/products/pwsh 1 _overviiew.html
  3. puhitaku PW-SH 1 Linux Brain Hackers + i.MX 28 Debian

    Brainux Raspberry Pi Brain Linux PW-x 1 (i.MX 7 ULP) 
 @pepepper 11/20 Kernel/VM online part 4 : Brain Linux 5 https://jp.sharp/edictionary/products/pwsh 1 _overviiew.html
  4. 6

  5. 1 . Windows ARM DRAM ; 13 eMMC DRAM I

    2 C SPI ARM 9 2 6 EJ-S 
 Core
  6. 1 . Windows On-chip ROM On-chip RAM On-chip ROM On-chip

    RAM 14 On-chip ROM On-chip RAM 
 (SRAM) ARM 9 2 6 EJ-S 
 Core
  7. ARM 9 2 6 EJ-S 
 Core 1 . Windows

    On-chip ROM 15 On-chip ROM On-chip RAM 
 (SRAM) 🤔 ARM USB slave (recovery) I 2 C SPI SSP (eMMC / SD) GPMI (NAND) JTAG
  8. ARM 9 2 6 EJ-S 
 Core 1 . Windows

    Brain One-Time-Programmable ROM eMMC 
 I 2 C EEPROM eMMC 16 On-chip ROM On-chip RAM 
 (SRAM) 😊 ARM USB slave (recovery) SSP (eMMC / SD) SPI I 2 C GPMI (NAND) JTAG eMMC
  9. 1 . Windows eMMC Program Image DRAM (EBOOT) 17 😊

    ARM SSP (eMMC / SD) Program Image MBR Program Image Boot ROM 
 : Windows DRAM init. EBOOT NK image
  10. 1 . Windows EBOOT NK image Windows 
 DRAM 18

    😊 ARM SSP (eMMC / SD) MBR Program Image DRAM init. EBOOT NK image DRAM 
 EBOOT On-chip ROM On-chip RAM DRAM NK image EBOOT
  11. 2 . Windows SHARP Windows CE 
 CE exe (PE)

    2011 TOSHIBA TMPA 9 10 CRAXBG (armv 4 l) + 64 MiB DRAM Windows CE 2012 2020 NXP i.MX 2 8 (armv 5 tej) + 12 8 MiB DRAM Windows CE 2021 NXP i.MX 7 ULP (armv 7 -a, armv 7 e-m) + 128 MiB DRAM μITRON RTOS : SHARP Brain 23 https://jp.sharp/edictionary/products/pwsh 1 _overviiew.html
  12. 2 . Windows " " BrainLILO 
 24 Windows eMMC

    FAT 32 " " BrainLILO u-boot.bin DRAM Windows 
 Kernel Brain 
 LILO BrainLILO ???
  13. 2 . Windows U-Boot (u-boot.bin) DRAM 25 Windows eMMC u-boot.bin

    
 DRAM Windows 
 Kernel Brain 
 LILO u-boot.bin FAT 32 " " BrainLILO u-boot.bin ???
  14. 2 . Windows MMU (Memory Management Unit) etc. 26 Windows

    eMMC DRAM u-boot.bin 🔥 🔥 🔥 🔥 FAT 32 " " BrainLILO u-boot.bin ???
  15. 2 . Windows U-Boot 27 Windows eMMC ͞Α͏ͳΒʜ DRAM u-boot.bin

    🔥 🔥 🔥 🔥 FAT 32 " " BrainLILO u-boot.bin ???
  16. 2 . Windows U-Boot 
 Linux 28 U-Boot eMMC DRAM

    u-boot.bin FAT 32 " " BrainLILO u-boot.bin Linux Image Linux Image Linux
  17. 3 . Linux Linux 1 32 Program 
 Image Brain

    
 LILO U-Boot EBOOT U-Boot Boot ROM U-Boot Program 
 Image 

  18. 3 . Linux 3 . 1 . EBOOT U-Boot 33

    Program 
 Image Brain 
 LILO U-Boot EBOOT U-Boot Boot ROM U-Boot Program 
 Image 

  19. 3 . Linux NK image U-Boot 
 EBOOT U-Boot 35

    SD FAT 32 EDSA 1 EXE.BIN 
 
 u-boot.bin NK image
  20. 3 . 2 . Boot ROM Program Image U-Boot 3

    . 2 . Boot ROM Program Image U-Boot 36 Program 
 Image Brain 
 LILO U-Boot Boot ROM U-Boot Program 
 Image 
 U-Boot EBOOT
  21. 3 . 2 . Boot ROM Program Image U-Boot eMMC

    EBOOT U-Boot Program Image 
 Linux 37 eMMC MBR Program Image U-Boot SPL U-Boot Linux rootfs (ext 4 )
  22. 3 . 2 . Boot ROM Program Image U-Boot EBOOT

    BrainLILO Program Image 38 Program 
 Image Brain 
 LILO U-Boot Boot ROM U-Boot Program 
 Image 
 U-Boot EBOOT ❌ ⭕ ⭕
  23. 4 . Program Image eMMC Linux SD I/O SD SDIO

    Wi-Fi Linux GPIO Program Image 40