1$name?="SiFive-FU740" 2 3using sysbus 4mach create $name 5machine LoadPlatformDescription @platforms/cpus/sifive-fu740.repl 6 7$sd?=@https://dl.antmicro.com/projects/renode/zephyr-ext-test-sd.img-s_1310720-55c5fbcb6be6fe138ebd08d31f70552609c9c015 8$bin?=@https://dl.antmicro.com/projects/renode/zephyr--fs_sample.elf-s_1030024-5915de196eecb6f143ec26dc4148eab574c0f327 9 10showAnalyzer uart0 11 12# default Zephyr config requires the ext2 filesystem starting on 2082 sector. 13# The Zephyr ext2 filesystem driver doesn't support all features, some of the should be turned off. 14# Example command that creates filesystem compatible with the Zephyr driver: 15# mkfs.ext2 -O filetype,-ext_attr,-resize_inode,-dir_index,-sparse_super,-large_file [device] 16machine SdCardFromFile $sd sysbus.qspi2 0 0x140000 False "sd" 17 18macro reset 19""" 20 sysbus LoadELF $bin 21""" 22runMacro $reset 23