This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3352: SDK build tips

Part Number: AM3352

Tool/software: Linux

Was able to make the Yocto file system to work on a dell laptop E6510 with 8GB. You need to make sure you give it more swap memory. In the link below it shows how to add swap memory but it is not enough for building Yocto with chromium-wayland. If you remove that then it will build with smaller swap memory.

blog.inventic.eu/.../

it has the below

How to increase swap file size

1
2
3
4
5
6
7
8
#create new swap file 512x1M size filled with zeros
sudo dd if=/dev/zero of=/extraswap bs=1M count=512
 
#setup file as a swap file
sudo mkswap /extraswap
 
#enable created swapfile
sudo swapon /extraswap

If you want to use this swap file also after your computer reboot, you have to do also following steps:

1
2
3
4
5
#edit fstab
sudo nano /etc/fstab
 
#add following line to /etc/fstab
/extraswap           swap                    swap    defaults        0 0
sudo dd if=/dev/zero of=/extraswap bs=1M count=512
 
i needed to change the highlighted line from above to below so give it more swap memory. That way you don't need a very powerful laptop or desk top

How to increase swap file size

1
2
3
4
5
6
7
8
#create new swap file 512x1M size filled with zeros
sudo dd if=/dev/zero of=/extraswap bs=1M count=4096
 
#setup file as a swap file
sudo mkswap /extraswap
 
#enable created swapfile
sudo swapon /extraswap

If you want to use this swap file also after your computer reboot, you have to do also following steps:

1
2
3
4
5
#edit fstab
sudo nano /etc/fstab
 
#add following line to /etc/fstab
/extraswap           swap                    swap    defaults        0 0
sudo dd if=/dev/zero of=/extraswap bs=1M count=4096