2011-08-05 06:27:42 Uclinux used in the coreB and Reserved memory.
qian xin (CHINA)
Message: 102835
hi all
I use VDSP++ compiled led_test.dxe file. (c++ code)
By uboot to set aside memory.
set bootargs root=/dev/mtdblock0 rw mem=30M max_mem=64M
board name : ADI BF561-EZKIT
board memory : 65536 kB (0x(null) -> 0x04000000)
kernel memory : 29692 kB (0x00001000 -> 0x01d00000)
use the command in uclinux:
corebld led_test.dxe
In led_test.dxe not use section ("sdram_bank3"), the program works.
But if you use section ("sdram_bank3"). Have the following error message:
------------------------------------------------
writing to 0xff600000, 0x7ac bytes: OK
writing to 0xff400000, 0xdf8 bytes: OK
writing to 0xff500000, 0x14 bytes: OK
writing to 0xff400df8, 0x60 bytes: OK
ERROR: Your destination address looks wrong: 0x3800000
The max mem available on your system seems to be 0x01b4c000,
but the destination is above that; aborting.
(re-run with --force to skip this check)
writing to 0x03800000, 0x200000 bytes: FAILED
hacking around broken VDSP program header table
writing to 0xff400df8, 0x60 bytes: OK
------------------------------------------------
How early should I reserve enough memory in uclinux?
Thanks.
TranslateQuoteReplyEditDelete
2011-08-05 06:57:29 Re: Uclinux used in the coreB and Reserved memory.
qian xin (CHINA)
Message: 102836
If dxe program is 8MB.
Error message:
Unable to mmap 12345.dxe: Cannot allocate memory