Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Ubuntu install

164

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
164

Ubuntu install

Posted at 12/3/2018 00:06:29      View:3898 | Replies:1        Print      Only Author   [Copy Link] 1#






Dear All,

Just bought your board and tring to compile ubuntu and kernel , install them on board.
1. From your web side "http://en.t-firefly.com/index.php/doc/product/info/id/290.html" and for kernel side says "After the compilation is complete , the kernel.img and resource.img should be generated in the kernel folder.

If you need to compile a xxx.dts in the arch/arm64/boot/dts/rockchip/ directory, then

make xxx.img -j4".Which dts file must be used for this rk3399 board?
2.Parameter file:
CMDLINE:console=ttyFIQ0 root=/dev/mmcblk1p6 rw rootwait \
mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(trust),\
0x00008000@0x00006000(resource),0x0000A000@0x0000E000(kernel),\
0x00002000@0x00018000(backup),-@0x0001A000(boot)

root=/dev/mmcblk1p6                             ---> rootfs partition
If the size of the root file partition is abnormal,
resize2fs /dev/mmcblk1p6

0x0000A000@0x0000E000(kernel)        ---> kernel partition
kernel                                                        --->  partition name
0x0000E000                                             --->  partition start address
0x0000A000                                            --->  partition size, generally do not need to pay attention


sudo upgrade_tool di kernel kernel.img
sudo upgrade_tool di boot    rootfs.img
...
kernel                                                         --->  on the parameter partition name
kernel.img                                                 --->  Compiled production kernel.img partition image

Document says a parameter file but i could find it.Where can i find it?Also I couldnt find rootfs file.



Where can i find any video or pdf document that explains all steps.Could you pls help me about these subjects.

Best regards,
Reply

Use props Report

1396

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1396
Posted at 12/7/2018 09:29:10        Only Author  2#
It's documented in your document link of http://en.t-firefly.com/index.php/doc/product/info/id/290.html:

To compile for firefly-rk3399 board:

  make firefly_linux_defconfig
  make rk3399-firefly-linux.img -j4

To compile for aio-3399j board:

  make firefly_linux_defconfig
  make rk3399-firefly-aio-linux.img -j4

rk3399-firefly-linux.dts and rk3399-firefly-aio-linux.dts are located in arch/arm64/boot/dts/rockchip/.
They're the board device tree source file.
The command `make rk3399-firefly-aio-linux.img -j4` will simply compile the kernel and rk3399-firefly-aio-linux.dts,
which results in kernel.img and resource.img (contains rk3399-firefly-aio-linux.dtb and startup logo).
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list