Firefly Open Source Community

Title: Whats a Parameter file? [Print This Page]

Author: Orion    Time: 8/5/2017 04:53
Title: Whats a Parameter file?
Im new to embeded linux so this might be an obvious question, but where is the parameter file that is mentioned in the second part of this guide : http://wiki.t-firefly.com/index. ... 399/Build_kernel/en
it seems to be important to flashing the device in the correct locations but i cant seem to find it anywhere in the kernel source files.

also i believe linux requires uboot to start it, would that mean i would have to flash uboot at 0x00000 for example and the kernel at 0x12345(end of uboot)?


Author: isle    Time: 8/5/2017 11:28
the parameter file did not exist in kernel source .
you can unpack our firmware to get it
http://wiki.t-firefly.com/index. ... android_firmware/en
Author: mansson    Time: 2/5/2018 18:35
But that page is about RK3288, and the question was about RK3399. Many parameters should be different, and it's quite tricky to get them all right. It would be appreciated if you could provide a parameter file on page http://wiki.t-firefly.com/index. ... 399/Build_kernel/en that works with the kernel and the board that is actually described on that page. The instructions are really not complete without it.
Author: markwylde    Time: 3/14/2018 22:28
You can get your current parameters file using rkflashtool:

  1. rkflashtool p
Copy the code


Should return something like:

  1. FIRMWARE_VER: 6.0.0
  2. MACHINE_MODEL: RK3399
  3. MACHINE_ID: 007
  4. MANUFACTURER: RK3399
  5. MAGIC: 0x5041524B
  6. ATAG: 0x00200800
  7. MACHINE: 3399
  8. CHECK_MASK: 0x80
  9. PWR_HLD: 0,0,A,0,1
  10. #KERNEL_IMG: 0x00280000
  11. #FDT_NAME: rk-kernel.dtb
  12. #RECOVER_KEY: 1,1,0,20,0
  13. #in section; per section 512(0x200) bytes
  14. CMDLINE: mtdparts=rk29xxnand:0x00001f40@0x00000040(loader1),0x00000080@0x00001f80(reserved1),0x00002000@0x00002000(reserved2),0x00002000@0x00004000(loader2),0x00002000@0x00006000(atf),0x00038000@0x00008000(boot:bootable),-@0x0040000(rootfs)
Copy the code





Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1