![theobroma systems RK3399-Q7 User Manual Download Page 31](http://html.mh-extra.com/html/theobroma-systems/rk3399-q7/rk3399-q7_user-manual_1101597031.webp)
adduser user sudo
Set up a basic network configuration file with DHCP via eth0:
cat
<<
EOT
>> /
etc
/
systemd
/
network
/
eth
.
network
[Match]
Name
=
eth0
[Network]
DHCP
=
yes
EOT
systemctl enable systemd
-
networkd
systemctl enable systemd
-
resolved
Set the hostname:
echo rk3399
-
q7
> /
etc
/
hostname
We can now exit from the chroot and clean up the support files:
exit
sudo rm $targetdir/etc/resolv.conf
sudo rm $targetdir/usr/bin/qemu-aarch64-static
umount -l xenial/dev/pts >/dev/null 2>&1
umount -l xenial/dev >/dev/null 2>&1
umount -l xenial/proc >/dev/null 2>&1
umount -l xenial/sys >/dev/null 2>&1
We now have a root filesystem which can be deployed to the SD card.
4.9 Deploy on SD Card
4.9.1 Partition Setup
Both U-Boot and Linux will be located on the same SD card. The layout of the card after setup is as follows:
RK3399-Q7 User Manual
© Theobroma Systems Design und Consulting GmbH
Release v0.2-3-g574c114
Page
27
Summary of Contents for RK3399-Q7
Page 2: ......