GooTal opened a new issue, #8812: URL: https://github.com/apache/nuttx/issues/8812
Hi, i built rv-virt:knsh64 and notice that CONFIG_RAM_START and CONFIG_RAM_SIZE are defined here: https://github.com/apache/nuttx/blob/776e2d774faac35c4583b6186e6c3e659fa4551f/boards/risc-v/qemu-rv/rv-virt/configs/knsh64/defconfig#L79-L80 May i ask why setting `CONFIG_RAM_START=0x8010_0000` and `setting CONFIG_RAM_SIZE=1048576` ? It seems that CONFIG_RAM_END = CONFIG_RAM_START + CONFIG_RAM_SIZE = 0x8020_0000 I\`m confused and don\`t know what effect these vars caused. Besides, i also read the code in ld-kernel.script: ``` MEMORY { kflash (rx) : ORIGIN = 0x80000000, LENGTH = 2048K /* w/ cache */ ksram (rwx) : ORIGIN = 0x80200000, LENGTH = 2048K /* w/ cache */ pgram (rwx) : ORIGIN = 0x80400000, LENGTH = 4096K /* w/ cache */ } ``` And i got the value of `g_idle_stacktop = 0x80206c00` and `KRAM = KSRAM_END = __ksram_end = 0x8040_0000` using gdb in function `up_allocate_heap`. So ... CONFIG_RAM_START & CONFIG_RAM_SIZE do not cause any effect here.. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
