Closed neuberfran closed 5 months ago
Some questions:
sysbuild
?CC @arnopo
@pdgendt https://discord.com/channels/720317445772017664/1243652018086613082
Why do you build for sysbuild? I still don't know, but I always used this tag
How do you load the firmware? https://www.youtube.com/watch?v=V06RC2G_3M8&t=35s
I load zephyr.bin in U-boot. After Linux starts I use the echo stop command (from remoteproc) to stop zephyr.bin and I use echo start to start zephyr.elf inside the Linux UserSpace
Where is your "flash" located?
part of the file pico_pi_m4.dts
chosen {
zephyr,flash = &ocram_code;
//zephyr,flash = &tcml_code;
// &ocram_code;
// &tcml_code;
zephyr,sram = &tcmu_sys;
zephyr,console = &uart6;
zephyr,shell-uart = &uart6;
};
};
chosen {
zephyr,flash = &ocram_code;
//zephyr,flash = &tcml_code;
// &ocram_code;
// &tcml_code;
zephyr,sram = &ocram_sys;
// zephyr,sram = &tcmu_sys;
zephyr,console = &uart6;
zephyr,shell-uart = &uart6;
};
};
` part of the file nxp_imx7d_m4.dtsi
soc {
ddr_code: code@10000000 {
compatible = "nxp,imx-code-bus";
reg = <0x10000000 0xfff0000>;
};
ddr_sys: memory@80000000 {
device_type = "memory";
compatible = "nxp,imx-sys-bus";
reg = <0x80000000 0x60000000>;
};
tcml_code: code@1fff8000 {
compatible = "nxp,imx-itcm";
reg = <0x1fff8000 DT_SIZE_K(32)>;
};
tcmu_sys: memory@20000000 {
compatible = "nxp,imx-dtcm";
reg = <0x20000000 DT_SIZE_K(32)>;
};
ocram_code: code@900000 {
compatible = "nxp,imx-code-bus";
reg = <0x00900000 DT_SIZE_K(128)>;
};
ocram_sys: memory@20200000 {
device_type = "memory";
compatible = "nxp,imx-sys-bus";
reg = <0x20200000 DT_SIZE_K(128)>;
};
When I change zephyr,flash = &tcml_code; to zephyr,flash = &ocram_code; And zephyr,sram = &tcmu_sys; to zephyr,sram = &ocram_sys; And west build -b pico_pi_m4 samples/subsys/ipc/openamp_rsc_table (wwithout --sysbuild)
I'm still getting the error:
zephyr/zephyr_pre0.elf section text' will not fit in region
FLASH'
Converting to a discussion as this is not a bug
Hi,
I stay trying this: https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/subsys/ipc/openamp_rsc_table in my imx7d-pico (m4 side, board in zephyr = pico_pi_m4)
https://github.com/zephyrproject-rtos/zephyr/issues/69433#issuecomment-2016598955 https://www.youtube.com/watch?v=V06RC2G_3M8
I'm migrating from Version 3.4 of Zephyr to 3.6.99 so I can access /dev/ttyRPMSG via Linux/Yocto through minicom -D /dev/ttyRPMSG0. Unsuccessful because I need to implement CONFIG_SHELL=y And CONFIG_SHELL_BACKEND_RPMSG=y (Note: Without these two options above, I have no errors, but of course, I don`t have shell)
When I enable these options in my prj.conf I get the following error:
pico_pi_m4.overlay
prj.conf
How can I solve it (Pls)