Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Whats a Parameter file?

41

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
41

Whats a Parameter file?

Posted at 8/5/2017 04:53:59      View:4587 | Replies:3        Print      Only Author   [Copy Link] 1#
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)?

Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 8/5/2017 11:28:46        Only Author  2#
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
Reply

Use props Report

90

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
90
Posted at 2/5/2018 18:35:25        Only Author  3#
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.
Reply

Use props Report

16

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
16
Posted at 3/14/2018 22:28:48        Only Author  4#
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
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