Hello,
As we know that i.MX 6SoloX Applications Processor has 2 cores: 1 Cortex-A9 core and 1 Cortex-M4 core.
iMX6-SoloX SABRE-SDB has 1024MB (0x80000000-0xBFFFFFFF).system memory.
We want to run linux on Cortex-A9 core, and run vxWorks on Cortex-M4 core.
We want to make memory partitioned as below:
Cortex-M4 core has 256MB (0x80000000-0x8FFFFFFF) memory.
Cortex-A9 core has 768MB (0x90000000-0xBFFFFFFF) memory.
I changed the "imx6sx-sdb.dts" as following:
From
memory {
reg = <0x80000000 0x40000000>;
};
to
memory {
reg = <0x90000000 0x30000000>;
};
It doesn't take effect. Cortex-A9 linux still owns 1024MB memory. I think the uboot may configure .
We are using uboot: imx_v2014.04_3.14.28_1.0.0_ga.
Can you tell me how to implement the memory partition above? Do you have document to describe it?
Thanks,
Miles
Solved! Go to Solution.
Hello,
the dts does not affect Cortex A9 memory allocation.
Please refer to Chapter 1 (Porting U-Boot from an i.MX 6/7 Reference
Board to an i.MX 6/7 Custom Board) of “i.MX_BSP_Porting_Guide.pdf”
how to cofnfigure memory.
http://www.nxp.com/webapp/Download?colCode=L3.14.52_1.1.0_LINUX_DOC
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello,
the dts does not affect Cortex A9 memory allocation.
Please refer to Chapter 1 (Porting U-Boot from an i.MX 6/7 Reference
Board to an i.MX 6/7 Custom Board) of “i.MX_BSP_Porting_Guide.pdf”
how to cofnfigure memory.
http://www.nxp.com/webapp/Download?colCode=L3.14.52_1.1.0_LINUX_DOC
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello,
I'm confused. Which one shall I use to build my uboot?
1. From "Freescale_Yocto_Project_User's_Guide.pdf"
$ repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.14.52-1.1.0_ga
2. From readme,
$ repo init -u http://sw-stash.freescale.net/scm/imx/fsl-arm-yocto-bsp.git -b fido-3.14.52-1.1.0_ga
What is the difference?
Thanks,
Miles
Hello,
Please use "Freescale_Yocto_Project_User's_Guide.pdf".
Regards,
Yuri.
Hello,
What's wrong?
mwang1@ala-hig4$../bin/repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.14.28-1.0.0_ga
File "../bin/repo", line 232
with open(GITC_CONFIG_FILE, 'r') as gitc_config:
^
SyntaxError: invalid syntax
mwang1@ala-hig4$
Hello,
Add the following line to the .bashrc file to ensure that the ~/bin folder is in your PATH variable.
$ export PATH=~/bin:$PATH
$ repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.14.28-1.0.0_ga
Regards,
Yuri.
Hello,
In "i.MX_BSP_Porting_Guide.pdf", page 9, step 3:
3. Create a new file in <UBOOT_DIR>/configs/ for the new i.MX-based configuration.
The instruction is an example for the i.MX 6Quad board:
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6q<customer_board>/<customer
board>.cfg,MX6Q"
CONFIG_ARM=y
CONFIG_TARGET_MX6Q<customer_board>=y
CONFIG_SYS_MALLOC_F=y
CONFIG_SYS_MALLOC_F_LEN=0x400
CONFIG_DM=y
CONFIG_DM_THERMAL=y
What is the new file name?
Thanks,
Miles
Hello,
> What is the new file name?
<customer_board> - it is Your prerogative to name Your board.
Regards,
Yuri