IMX6Q Ubuntu MATE desktop 16.04 Dock is missing

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

IMX6Q Ubuntu MATE desktop 16.04 Dock is missing

跳至解决方案
2,580 次查看
titusstalin
Contributor V

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!

标签 (3)
0 项奖励
回复
1 解答
2,567 次查看
titusstalin
Contributor V

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

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,568 次查看
titusstalin
Contributor V

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

0 项奖励
回复
2,572 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello titusstalin,

 

The ubuntu 16.04 is not supported by nxp, you might want to contact boundary devices.

 

Regards

 

0 项奖励
回复