Page 1 of 1

No bootable app partitions with external flash when booting in QIO, but will not build for DIO

Posted: Mon Sep 03, 2018 2:37 pm
by jcsbanks

Code: Select all

ets Jun  8 2016 00:22:57

rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 158106054, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:6360
load:0x40078000,len:9884
load:0x40080400,len:6840
entry 0x40080768
I (29) boot: ESP-IDF v3.2-dev-498-g30545f4c-dirty 2nd stage bootloader
I (29) boot: compile time 20:06:41
I (40) boot: Enabling RNG early entropy source...
I (40) qio_mode: Enabling QIO for flash chip WinBond
I (42) boot: SPI Speed      : 80MHz
I (46) boot: SPI Mode       : QIO
I (50) boot: SPI Flash Size : 16MB
I (54) boot: Partition Table:
I (57) boot: ## Label            Usage          Type ST Offset   Length
I (65) boot: End of partition table
E (69) boot: No bootable app partitions in the partition table
However, I know this board will work in DIO, but when I make menuconfig and save the config and flash, it boots as QIO.

Edit: make clean then repeating fixed it. Will leave post up in case anyone else has same problem changing between QIO and DIO.

Re: No bootable app partitions with external flash when booting in QIO, but will not build for DIO

Posted: Tue Sep 04, 2018 2:02 am
by ESP_Angus
jcsbanks wrote: However, I know this board will work in DIO, but when I make menuconfig and save the config and flash, it boots as QIO.

Edit: make clean then repeating fixed it. Will leave post up in case anyone else has same problem changing between QIO and DIO.
That's quite strange! Where you flashing with "make flash" each time?

If you see this again and have any steps to reproduce the config not changing properly (or not triggering a rebuild), please let us know.

Re: No bootable app partitions with external flash when booting in QIO, but will not build for DIO

Posted: Tue Sep 04, 2018 8:13 am
by jcsbanks
Will do. I had copied the folder to another with a new name for a different PCB with a few changes to pin allocations for hardware.

make -j8 menuconfig
make -j8 flash monitor