Kernel/VM 探検隊 online part4 LT 小説版: https://www.zopfco.de/entry/reset_freeze_re
Kernel/VM online part4LT@puhitaku
View Slide
Takumi Sueda @puhitakuNICT HOMMA Inc. Twitter
SHARP BrainSHARP Windows CE CE exe (PE)2011TOSHIBA TMPA9 10CRAXBG (armv5tej) +64MiB DRAMWindows CE2012 2020NXP i.MX283(armv5tej) +128MiB DRAMWindows CE2021???SHARP Brain3https://jp.sharp/edictionary/products/pwsh1_overviiew.html
SHARP Brain2019 2020 SHARP Brain PW-SH1Linux+i.MX283 Raspberry Pi BrainLinux SDBrain Linux4https://jp.sharp/edictionary/products/pwsh1_overviiew.html
2021 1Brain
Brainhttps://jp.sharp/edictionary/topics/6
Brainhttps://brain-library.com/7
BrainOS SoC i.MX283 8
Brain 9
Brain 10
Brain 11
BrainSoC NXP i.MX7ULP i.MX7ULP = Cortex-A7+ Cortex-M412
Brain(Windows CE PE)OS13
objdump0 Arm15
as ELF .text16
17
resource hog18
_start return19
20
0x00000000 21
return0x000000 0022
U-Boot
U-Boot1. MMU2. MMU U-BootU-Boot24
U-Boot& OS APIJTAGUART TX UART I/O25
U-Boot 1bit26
U-Boot1 MMU
U-Boot MMUMMU mrc SCTSR MMUmcrMMU28SCTSR
U-Boot MMUmrc 29
U-Boot MMU 30
U-Boot MMUmrc SCTSR return31
U-Boot2 U-Boot
U-Boot U-BootU-Boot MMU U-Boot3 :1. Brain2. DRAM 1. 1.3. 2. 64 KiB (large page) 1.U-Boot33
U-Boot2 U-Boot1
U-Boot U-Boot135Brain1MiBNOPmov pc, lrNOP = mov r0, r0
U-Boot U-Boot13615MiBBrain15 MiB1 (4Bytes)15MiB DRAM 128 MiB 11.7%
U-Boot2 U-Boot2
U-Boot U-Boot 38NOPMMUNOP1NOP64KiBNOP NOP………2 1
U-Boot U-Boot239Virtual Memory15MiB1MMUPhysical MemoryMMU
U-Boot U-Boot2401Physical Memory0x600000000x680000001 !"#$ %&'( !"#$1
U-Boot U-Boot2411Physical Memory0x678000 00DRAM 15 MiB %&'(0x600000000x68000000
U-Boot2 U-Boot3
U-Boot U-Boot 432 MMUNOP NOP64KiBNOP3 1NOP NOP NOP NOP
U-Boot U-Boot 44112 64 KiBNOP NOP64KiB3 1NOP NOP NOP NOP112…
U-Boot U-Boot1. ✅ U-Boot2. ✅ MMU3. ✅ MMU U-Boot15MiB 0x7 00 00 0u-boot.bin 0x67800000U-BootU-Boot45
U-Booti.MX7ULP config 47
U-Boot 48
U-BootU-Boot shell49
Linux
LinuxU-Boot Imageprintk UARTLinux51
Linux@pepepper_cpp Mailbox UnitLinux MUNXP upstream MUmerge52
LinuxLinuxLinux53
μITRON RTOSI/O I/O55
&Speakerdeck56