Hi,
I am trying to build RAM based u-boot image as mentioned in document T1040RDBQS.pdf section 9. I added below mentioned settings in boards.cfg
Active powerpc mpc85xx - freescale t104xrdb T1040RDB_RAM T1040RDB:PPC_T1040, RAMBOOT_PBL, SPIFLASH,SYS_TEXT_BASE=0x11000000,RESET_VECTOR_ADDRESS=0x110bfffc
But it results in below error
/sysroots/ppce5500-fsl_networking-linux/usr/lib/powerpc-fsl_networking-linux/4.7.3 -lgcc -Map u-boot.map -o u-boot
powerpc-fsl_networking-linux-objcopy --gap-fill=0xff -O srec u-boot u-boot.srec
powerpc-fsl_networking-linux-objcopy:u-boot.srec: No space left on device
make[1]: *** [u-boot.srec] Error 1
make[1]: Leaving directory `/ws/chanmish-bgl/asr907/trunk/u-boot/git'
make: *** [T1040RDB_RAM] Error 2
Thanks,
The error indicate is "No space left on device". Before do anything else, please check the space on your PC.
Adrian
Hi Adrian,
My PC where I am compiling this code has 2GB free space. So, it should not be the workstation space issue.
Chandra
Hi Adrian,
In fact you are right that there is a space issue. I could see the generated u-boot file size is of 4G. How come it can generate such a huge elf file? Is there any configuration issue?
Chandra
Hi Chandra,
The u-boot file size will be just 512KB in size, but during u-boot compilation is necessary more space available.
Adrian
U-Boot does not require 4G of free disk space to build, and even if it did that would not result in a 4G final image. There is most likely a problem with the way the image is being linked.
Hi Adrian,
I freed about 8 GB of space in PC, but still I see the same error.
powerpc-fsl_networking-linux-objcopy --gap-fill=0xff -O srec u-boot u-boot.srec
powerpc-fsl_networking-linux-objcopy:u-boot.srec: No space left on device
make[1]: *** [u-boot.srec] Error 1
bash-4.1$ df -h
bgl11-netapp05a:/vol/wslocal5/chanmish
32G 24G 8.2G 75% /ws/chanmish-bgl
bash-4.1$ ls -lh
......
drwxr-xr-x 13 chanmish eng 8.0K May 17 13:25 tools
-rwxr-xr-x 1 chanmish eng 4.0G May 17 13:25 u-boot
-rw-r--r-- 1 chanmish eng 1.4K May 17 13:25 u-boot.lds
-rw-r--r-- 1 chanmish eng 321K May 17 13:25 u-boot.map
bash-4.1$
Chandra
Hello,
Thank you for your post, however please consider moving it to the right community place (e.g. QorIQ Processors ) to get it visible for active members.
For details please see general advice Where to post a Discussion? (https://community.freescale.com/docs/DOC-99909 )
Thank you for using Freescale Community.