Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
load mmc 0:1 0xa4000000 ubuntu-core.img
mmc dev 0
mmc write 0xa4000000 0 0xd2000

...

Note

Please Note:

The above commands should be run only once (in the fist boot), or when a new image is to be used.

...

The following stages need to be done in order to finalise the imaging:

  1. Run fdisk /dev/mmcblk0mmcblk1 if using SD, or run if using fdisk /dev/mmcblk1mmcblk10 eMMC.

  2. 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).

  3. Write the new partition, when prompt about ‘Do you want to remove the signature?’ then answer with No.

  4. Run resize2fs /dev/mmcblk0p1mmcblk1p1 if using SD Card, or Run resize2fs /dev/mmcblk1p1mmcblk0p1 if using eMMC.

  5. In this stage the root partition should be big enough to start populating it; but first update the RTC clock.

  6. Connect the RJ45 to your network with internet access (and DHCP server); and then run dhclient .

  7. Update the RTC clock by running ntpdate pool.ntp.org and then hwclock -w.

  8. Run apt-update commands below and then populate the root filesystem as you wish.

...