etc:users:jcmvbkbc:linux-xtensa:esp32
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
etc:users:jcmvbkbc:linux-xtensa:esp32 [2022/06/03 21:44] – jcmvbkbc | etc:users:jcmvbkbc:linux-xtensa:esp32 [2023/05/24 03:59] (current) – jcmvbkbc | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Booting linux on ESP32 ====== | ====== Booting linux on ESP32 ====== | ||
+ | |||
+ | See [[.: | ||
Sources: | Sources: | ||
- | * https:// | + | * https:// |
- | * https:// | + | * https:// |
* buildroot mainline | * buildroot mainline | ||
Line 12: | Line 14: | ||
$ parttool.py -p / | $ parttool.py -p / | ||
$ parttool.py -p / | $ parttool.py -p / | ||
+ | </ | ||
+ | |||
+ | Gives the following: | ||
+ | < | ||
+ | ets Jul 29 2019 12:21:46 | ||
+ | |||
+ | rst:0x1 (POWERON_RESET), | ||
+ | configsip: 0, SPIWP:0xee | ||
+ | clk_drv: | ||
+ | mode:DIO, clock div:1 | ||
+ | load: | ||
+ | load: | ||
+ | ho 0 tail 12 room 4 | ||
+ | load: | ||
+ | entry 0x4008060c | ||
+ | I (92) psram: This chip is ESP32-D0WD | ||
+ | I (93) spiram: Found 64MBit SPI RAM device | ||
+ | I (93) spiram: SPI RAM mode: flash 80m sram 80m | ||
+ | I (95) spiram: PSRAM initialized, | ||
+ | I (103) cpu_start: Pro cpu up. | ||
+ | I (106) cpu_start: Starting app cpu, entry point is 0x400810bc | ||
+ | I (0) cpu_start: App cpu up. | ||
+ | I (609) spiram: SPI SRAM memory test OK | ||
+ | I (617) cpu_start: Pro cpu start user code | ||
+ | I (617) cpu_start: cpu freq: 160000000 | ||
+ | I (617) cpu_start: Application information: | ||
+ | I (620) cpu_start: Project name: | ||
+ | I (625) cpu_start: App version: | ||
+ | I (631) cpu_start: Compile time: | ||
+ | I (637) cpu_start: ELF file SHA256: | ||
+ | I (643) cpu_start: ESP-IDF: | ||
+ | I (650) heap_init: Initializing. RAM available for dynamic allocation: | ||
+ | I (657) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM | ||
+ | I (663) heap_init: At 3FFB2BA0 len 0002D460 (181 KiB): DRAM | ||
+ | I (669) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM | ||
+ | I (675) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM | ||
+ | I (682) heap_init: At 4008C1A0 len 00013E60 (79 KiB): IRAM | ||
+ | I (688) spiram: Adding pool of 4095K of external SPI memory to heap allocator | ||
+ | I (696) spi_flash: detected chip: generic | ||
+ | I (700) spi_flash: flash io: dio | ||
+ | I (705) cpu_start: Starting scheduler on PRO CPU. | ||
+ | I (0) cpu_start: Starting scheduler on APP CPU. | ||
+ | I (715) spiram: Reserving pool of 32K of internal memory for DMA/ | ||
+ | This is esp32 chip with 2 CPU core(s), WiFi/ | ||
+ | Minimum free heap size: 4452739 bytes | ||
+ | [ 0.000000] Ignoring boot parameters at (ptrval) | ||
+ | [ 0.000000] Linux version 5.18.0-00045-g137adeae9008 (jcmvbkbc@octofox) (xtensa-esp32-elf-gcc (GCC) 12.1.0, GNU ld (GNU Binutils) 2.37) #55 PREEMPT Fri Jun 3 11:33:34 PDT 2022 | ||
+ | [ 0.000000] config ID: c2bcfffe: | ||
+ | [ 0.000000] Zone ranges: | ||
+ | [ 0.000000] | ||
+ | [ 0.000000] Movable zone start for each node | ||
+ | [ 0.000000] Early memory node ranges | ||
+ | [ 0.000000] | ||
+ | [ 0.000000] Initmem setup node 0 [mem 0x000000003f800000-0x000000003fbfffff] | ||
+ | [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 | ||
+ | [ 0.000000] pcpu-alloc: [0] 0 | ||
+ | [ 0.000000] Built 1 zonelists, mobility grouping off. Total pages: 1016 | ||
+ | [ 0.000000] Kernel command line: earlycon=esp, | ||
+ | [ 0.000000] Unknown kernel command line parameters " | ||
+ | [ 0.000000] Dentry cache hash table entries: 1024 (order: 0, 4096 bytes, linear) | ||
+ | [ 0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) | ||
+ | [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off | ||
+ | [ 0.000000] virtual kernel memory layout: | ||
+ | [ 0.000000] | ||
+ | [ 0.000000] | ||
+ | [ 0.000000] | ||
+ | [ 0.000000] | ||
+ | [ 0.000000] | ||
+ | [ 0.000000] | ||
+ | [ 0.000000] Memory: 3372K/4096K available (910K kernel code, 462K rwdata, 268K rodata, 68K init, 161K bss, 724K reserved, 0K cma-reserved) | ||
+ | [ 0.000000] rcu: Preemptible hierarchical RCU implementation. | ||
+ | [ 0.000000] | ||
+ | [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. | ||
+ | [ 0.000000] NR_IRQS: 33 | ||
+ | [ 0.000000] clocksource: | ||
+ | [ 0.000066] sched_clock: | ||
+ | [ 0.001308] Calibrating delay loop (skipped)... 160.00 BogoMIPS preset | ||
+ | [ 0.001808] pid_max: default: 4096 minimum: 301 | ||
+ | [ 0.003279] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) | ||
+ | [ 0.004232] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) | ||
+ | [ 0.048931] cblist_init_generic: | ||
+ | [ 0.049741] cblist_init_generic: | ||
+ | [ 0.059606] rcu: Hierarchical SRCU implementation. | ||
+ | [ 0.076658] devtmpfs: initialized | ||
+ | [ 0.083391] clocksource: | ||
+ | [ 0.084360] futex hash table entries: 16 (order: -5, 192 bytes, linear) | ||
+ | [ 0.121536] clocksource: | ||
+ | [ 0.174347] workingset: timestamp_bits=30 max_order=10 bucket_order=0 | ||
+ | [ 2.082460] 3ff40000.serial: | ||
+ | [ 2.357056] printk: console [ttyS0] enabled | ||
+ | [ 2.370634] physmap-flash 3f400000.flash: | ||
+ | [ 2.373536] 2 fixed-partitions partitions found on MTD device 3f400000.flash | ||
+ | [ 2.378928] Creating 2 MTD partitions on " | ||
+ | [ 2.385423] 0x000000040000-0x000000200000 : " | ||
+ | [ 2.403718] 0x000000200000-0x000000400000 : " | ||
+ | [ 2.435035] cramfs: checking physical address 0x3f600000 for linear cramfs image | ||
+ | [ 2.436006] cramfs: linear cramfs image on mtd:data appears to be 596 KB in size | ||
+ | [ 2.443537] VFS: Mounted root (cramfs filesystem) readonly on device 31:1. | ||
+ | [ 2.448906] devtmpfs: mounted | ||
+ | [ 2.453437] Freeing unused kernel image (initmem) memory: 12K | ||
+ | [ 2.455068] This architecture does not have kernel memory protection. | ||
+ | [ 2.462924] Run /bin/sh as init process | ||
+ | [ 2.465281] | ||
+ | [ 2.468212] | ||
+ | [ 2.470645] | ||
+ | [ 2.474634] | ||
+ | [ 2.476129] | ||
+ | [ 2.478803] | ||
+ | [ 2.603870] random: fast init done | ||
+ | [ 3.535085] Caught unhandled exception in ' | ||
+ | [ 3.535085] | ||
+ | [ 3.537257] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004 | ||
+ | [ 3.544067] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004 ]--- | ||
</ | </ |
etc/users/jcmvbkbc/linux-xtensa/esp32.1654281880.txt.gz · Last modified: 2022/06/03 21:44 by jcmvbkbc