I am using flexbuilder that I downloaded from the "Get Started with the FRWY-LS1046A" page 2.4 Layerscape SDK for FRWY-LS1046A. I am running Ubuntu 18.04 (32bit) on Virtual Box Windows 10.
Entered following:
$ tar xvzf flexbuild_ls1046afrwy_bsp0.1.tgz
$ cd flexbuild
$ source setup.env
$ flex-builder -m ls1046afrwy -a arm64
The error I am getting is as follows:
Selecting previously unselected package iso-codes.
Preparing to unpack .../35-iso-codes_3.79-1_all.deb ...
Unpacking iso-codes (3.79-1) ...
Errors were encountered while processing:
/tmp/apt-dpkg-install-Uxij80/24-tzdata_2022g-0ubuntu0.18.04_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
When I look in /tmp the file is not there.
root@frwy1046a-VirtualBox:/tmp# ls
config-err-OLp4sk systemd-private-2ffa1dc8abe649f5be096dcbb3536e1d-ModemManager.service-k4Wh6k
config-err-plzppX systemd-private-2ffa1dc8abe649f5be096dcbb3536e1d-rtkit-daemon.service-1iw7Ca
snap-private-tmp systemd-private-2ffa1dc8abe649f5be096dcbb3536e1d-systemd-resolved.service-7FqkEC
ssh-xmSk2T2WyfS6
What do I need to do to correct this?
Thanks,
William
Solved! Go to Solution.
Processing triggers for systemd (237-3ubuntu10.57) ...
[sudo] password for frwy1046a:
/home/frwy1046a/Downloads/flexbuild/build/rfs/rootfs_ubuntu_bionic_LS_arm64 [Done]
Got it built finally!
My Virtual Box Unbuntu 18.04 32bit system was corrupted. I built a new Virtual Box Unbuntu 18.04 64bit system with unattended installation: https://ubuntu.com/tutorials/how-to-run-ubuntu-desktop-on-a-virtual-machine-using-virtualbox#1-overv...
I ran into a problem with rsyslog but this was solved by the solution in "ls1043a flexbuild_lsdk1806 build error" post with modifications since I am building ls1046a I guess.
vi flexbuild/tools/flex-mkdistrorfs
install_cfg_secondstage() {
.
.
.
apt -y install language-pack-en-base
fi
fi
test -f /proc/uptime || mount -t proc proc /proc
test -f /dev/pts/ptmx || mount -t devpts devpts /dev/pts
apt -y upgrade
.
.
.
}
Processing triggers for systemd (237-3ubuntu10.57) ...
[sudo] password for frwy1046a:
/home/frwy1046a/Downloads/flexbuild/build/rfs/rootfs_ubuntu_bionic_LS_arm64 [Done]
Got it built finally!
My Virtual Box Unbuntu 18.04 32bit system was corrupted. I built a new Virtual Box Unbuntu 18.04 64bit system with unattended installation: https://ubuntu.com/tutorials/how-to-run-ubuntu-desktop-on-a-virtual-machine-using-virtualbox#1-overv...
I ran into a problem with rsyslog but this was solved by the solution in "ls1043a flexbuild_lsdk1806 build error" post with modifications since I am building ls1046a I guess.
vi flexbuild/tools/flex-mkdistrorfs
install_cfg_secondstage() {
.
.
.
apt -y install language-pack-en-base
fi
fi
test -f /proc/uptime || mount -t proc proc /proc
test -f /dev/pts/ptmx || mount -t devpts devpts /dev/pts
apt -y upgrade
.
.
.
}