Adds Ubuntu version
[FireflyDocs.git] / update_system.txt
index 9326bfd8462456c5fa970b7ac627d401a050cfcb..fd69ee04b03c2efec564e557313e23e4e57d0c82 100644 (file)
@@ -8,6 +8,9 @@ Download the unified Firmware image from
 http://en.t-firefly.com/doc/download/3.html. Try Google Drive
 https://drive.google.com/drive/folders/0B7HO8lbGgAqAdXBsaG9NMEl5bm8 for Ubuntu
 16.04.
+We have made a local copy named "Firefly-RK3399-ubuntu16.04-20180416112819.tgz"
+in this link (http://plrg.eecs.uci.edu/git/?p=FireflyImages.git). Unzip it and you will get a file named
+"Firefly-RK3399-ubuntu16.04-20180416112819.img", which is the unified firmware.
 
 The unfortunate part is that we used the Linux kernel 4.4.55, which is a
 slightly older version than the Firefly official website has, so we need to
@@ -34,7 +37,7 @@ commit:
 To do that, do the following in command line (don't forget to install the
 AArch64 cross compile environment on your host machine first):
 
-  git clone https://gitlab.com/TeeFirefly/linux-kernel/tree/firefly_0821_release
+  git clone https://gitlab.com/TeeFirefly/linux-kernel
   git reset --hard 70b6d4f
   export ARCH=arm64
   export CROSS_COMPILE=aarch64-linux-gnu-
@@ -42,16 +45,18 @@ AArch64 cross compile environment on your host machine first):
   make rk3399-firefly-linux.img -j4
 
 You will find the generated kernel.img & resource.img files after the
-compilation.
+compilation. We have made a copy of both files in the follwoing link:
+http://plrg.eecs.uci.edu/git/?p=FireflyImages.git.
 
 
 3. Create an Ubuntu root filesystem. The point of this step is to create a file
 called "rootfs.img" that is the ubuntu file system. You will need to burn this
-file system along with the kernel to the board in later steps. The link that you
-will find useful and will follow is this link:
-http://en.t-firefly.com/doc/product/info/id/291.html.
-Just in case, we made local copies of the instructions in
-"BuildUbuntuRootFS/291.html" & "BuildUbuntuRootFS/334.html"
+file system along with the kernel to the board in later steps. The version of
+Ubuntu we used is "Ubuntu 16.04.2 LTS (GNU/Linux 4.4.55 aarch64)". The link that
+you will find useful and will follow is this link:
+http://en.t-firefly.com/doc/product/info/id/291.html.  Just in case, we made
+local copies of the instructions in "BuildUbuntuRootFS/291.html" &
+"BuildUbuntuRootFS/334.html"
 
 A few caveats:
 a. Try to give the root system 4GBs of space.
@@ -83,7 +88,8 @@ machine. It's a lot faster than installing them on the board natively.
   sudo apt update
   sudo apt upgrade
 
-4. Use upgrade_tool to ONLY burn the kernel.img, resource.img, and rootfs.img.
+4. Use upgrade_tool to ONLY burn the kernel.img, resource.img (generated in step
+2), and rootfs.img (generated in step 3).
 Useful local copy of instruction can be found in "FlashImage/310.html".
 
 5. Restart the board and all should be good.