Am Fri, Sep 17, 2021 at 08:28:33AM +1000 schrieb Keith Emery:
On 17/9/21 1:29 am, Andreas Bauer wrote:
If you don't have serial on the platform, the next best option is to enable flash log and read back the rom after an boot attempt.
Is that module functional?
It refused to compile when I tried it for F2A85-M.
Indeed it is, it worked just fine for me. Be careful not to confuse it with another similar sounding config option. This is what worked for me:
CONFIG_ELOG=y CONFIG_ELOG_DEBUG=y CONFIG_ELOG_CBMEM=y CONFIG_ELOG_BOOT_COUNT=y
CONFIG_BOOT_DEVICE_SPI_FLASH=y CONFIG_BOOT_DEVICE_MEMORY_MAPPED=y CONFIG_BOOT_DEVICE_SUPPORTS_WRITES=y
CONFIG_BOOTBLOCK_CONSOLE=y CONFIG_POSTCAR_CONSOLE=y CONFIG_SQUELCH_EARLY_SMP=y CONFIG_CONSOLE_CBMEM=y CONFIG_CONSOLE_SPI_FLASH=y CONFIG_CONSOLE_SPI_FLASH_BUFFER_SIZE=0x20000 CONFIG_DEFAULT_CONSOLE_LOGLEVEL_8=y CONFIG_DEFAULT_CONSOLE_LOGLEVEL=8 CONFIG_HWBASE_DEBUG_CB=y
(bootcount enabled also)
regards,
Andreas