...
Before powering up the board for the first time it is recommended to select the boot media. In order to configure the boot media, please refer to LX2160A CeX7 Boot Select <TBD>.
Booting from an SD card
The switches on the boot source SW1 selector must be set as follows:
...
Code Block |
---|
load mmc 0:1 0xa4000000 ubuntu-core.img mmc dev 1 mmc write 0xa4000000 0 0xd2000 |
...
Note |
---|
Please Note: The above commands should be run only once (in the fist boot). |
...
Run
fdisk /dev/mmcblk0
if using SD, or run if usingfdisk /dev/mmcblk1
eMMC.Recreate the first partition by deleting it and then creating a new partition that starts at block 131072 and extends to the end of the drive (or less depending on your needs).
Write the new partition, when prompt about ‘Do you want to remove the signature?’ then answer with yes.
Run
resize2fs /dev/mmcblk1p1mmcblk0p1
if using SD Card, or Runresize2fs /dev/mmcblk0p1mmcblk1p1
if using eMMC.In this stage the root partition should be big enough to start populating it; but first update the RTC clock.
Connect the RJ45 to your network with internet access (and DHCP server); and then run
dhclient
.Update the RTC clock by running
ntpdate pool.ntp.org
and thenhwclock -w
.Run
apt-update
and then populate the root filesystem as you wish.
...