Hello,
We have a custom board based on i.MX6Q SOC and wants to install Ubuntu16.04. So I have referred the following boundary devices rootfs and ported to my board to boot Ubuntu 16.04 LTS image. And we need to use kernel version 4.1.
https://boundarydevices.com/ubuntu-xenial-mx67-boards-august-2016-kernel-4-1-15/
1. Issue is that MATE desktop's dock is missing (SD card 32GB boot), what could be the problem and how can I fix it ?
2. And also we need to reduce the size of the rootfs to fit into our eMMC which is 3GB, any suggestions to remove packages like we dont need developement packages and just desktop env for smooth exe ?
3. We are using mfgtools to program our custom boards (imx6q) in production to flash the all images, but one requirement is that we need to reduce the size of the first boot partition and increase the 2nd partition size for rootfs, any suggestion for changing ini or file ?
Thanks for your help!
解決済! 解決策の投稿を見る。
Okay got it. Thanks.
BTW, for 3rd question, found an answer.
We need to edit 'mksdcard.sh' file in 'mfgtools' to change the partition sizes (1st boot, 2nd roots partition)
1st partition uses 200MB and rest of the size can be used for roots partition.
#!/bin/sh
# partition size in MB
BOOT_ROM_SIZE=10
# wait for the SD/MMC device node ready
while [ ! -e $1 ]
do
sleep 1
echo "wait for $1 appear"
done
# call sfdisk to create partition table
# destroy the partition table
node=$1
dd if=/dev/zero of=${node} bs=1024 count=1
sfdisk --force ${node} << EOF
${BOOT_ROM_SIZE}M,200M,0c
300M,,83
EOF
Okay got it. Thanks.
BTW, for 3rd question, found an answer.
We need to edit 'mksdcard.sh' file in 'mfgtools' to change the partition sizes (1st boot, 2nd roots partition)
1st partition uses 200MB and rest of the size can be used for roots partition.
#!/bin/sh
# partition size in MB
BOOT_ROM_SIZE=10
# wait for the SD/MMC device node ready
while [ ! -e $1 ]
do
sleep 1
echo "wait for $1 appear"
done
# call sfdisk to create partition table
# destroy the partition table
node=$1
dd if=/dev/zero of=${node} bs=1024 count=1
sfdisk --force ${node} << EOF
${BOOT_ROM_SIZE}M,200M,0c
300M,,83
EOF
Hello titusstalin,
The ubuntu 16.04 is not supported by nxp, you might want to contact boundary devices.
Regards