Installing Ubuntu image

Table of Contents:

Prepare TFTP server

Make sure TFTP server is running and contains the uncompressed Ubuntu image file (in this example we will use ubuntu-whle-ls1046a-02-10-2021-3bbd6c2.img).

Configure network in U-Boot

Plug in an Ethernet cable to the ETH0 port and start the board. Use dhcp command at the U-Boot prompt to acquire the IP address. After that, set the IP address of the TFTP server using setenv serverip x.x.x.x command, as shown below:

U-Boot 2021.04-rc3 (Oct 13 2021 - 14:27:10 +0200) SoC:  LS1046AE Rev1.0 (0x87070010) Clock Configuration:        CPU0(A72):1600 MHz  CPU1(A72):1600 MHz  CPU2(A72):1600 MHz          CPU3(A72):1600 MHz          Bus:      400  MHz  DDR:      2100 MT/s  FMAN:     700  MHz Reset Configuration Word (RCW):        00000000: 08150010 0e000000 00000000 00000000        00000010: 11335577 c0004012 40025000 c1000000        00000020: 00000000 00000000 00000000 00238800        00000030: 20124000 00003000 00000096 00000001 Model: Conclusive WHLE-LS1046A Board: WHLE-LS1046A, Rev: 0 DRAM:  15.9 GiB (DDR4, 64-bit, CL=13, ECC off)        DDR Chip-Select Interleaving Mode: CS0+CS1 SEC0:  RNG instantiated Using SERDES1 Protocol: 4403 (0x1133) Using SERDES2 Protocol: 21879 (0x5577) MMC:   FSL_SDHC: 0 EEPROM: TlvInfo v1 len=176 In:    serial Out:   serial Err:   serial Net:    MMC read: dev # 0, block # 18432, count 128 ... Fman1: Uploading microcode version 106.4.18 PCIe1: pcie@3400000 Root Complex: x1 gen2 PCIe2: pcie@3500000 Root Complex: x1 gen3 PCIe3: pcie@3600000 Root Complex: x2 gen3 FM1@DTSEC3 [PRIME], FM1@DTSEC4, FM1@DTSEC5, FM1@DTSEC6, FM1@TGEC1, FM1@TGEC2 Hit any key to stop autoboot:  0 => dhcp BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 DHCP client bound to address 10.0.3.100 (1009 ms) *** ERROR: `serverip' not set Cannot autoload with TFTPGET => setenv serverip 10.0.3.22 =>

Download the image to eMMC memory

Use the tftpclonecommand to download image directly from the TFTP server to eMMC memory as shown above. Replace the file name in the example with file name of your image file.

=> tftpclone mmc 0 0 ubuntu-whle-ls1046a-02-10-2021-3bbd6c2.img Warning: tftpblocksize not set, setting to 1024 Using FM1@DTSEC3 device TFTP from server 10.0.3.22; our IP address is 10.0.3.100 Filename 'ubuntu-whle-ls1046a-02-10-2021-3bbd6c2.img'. Clone destination: mmc 0 Loading: #################################################################   #################################################################   #################################################################   #################################################################   #################################################################   [...]   #################################################################   #################################################################   #################################################################   #################################################################   #########################################   3.4 MiB/s done Bytes transferred = 1677721600 (64000000 hex) => 

Reboot into the new system

Type resetto reboot into the newly installed system. 

 

If you’re looking for more information please contact us at https://conclusive.pl/contact/