Jump to content

Flashing from Linux


Guest rossburton

Recommended Posts

Guest rossburton

Today I flashed my Vega to 1.04 from Linux without any use of Windows at all.

To do this you need the Linux binary of nvflash, which is part of the linux4tegra download available at http://developer.nvidia.com/tegra/downloads. Then take the 1.04 update .exe and unzip it (it's a standard self-extracting zip) and read lvds.bat, this is the updater script that the update runs. In it you'll see the nvflash line that you need to run. Fiddle the paths and construct the correct invocation of nvflash for you, and voila.

$ sudo LD_LIBRARY_PATH=../linux4tegra/nvflash/ ../linux4tegra/nvflash/nvflash --bct flash.bct --setbct --bl bootloader.bin --configfile flash.cfg --odmdata 0x000c0075 --create --go 
Nvflash started
rcm version 0X20001
System Information:
chip name: t20
chip id: 0x20 major: 1 minor: 3
chip sku: 0x8
chip uid: 0x1714404643e0a1d7
macrovision: disabled
hdcp: enabled
sbk burned: false
dk burned: false
boot device: nand
operating mode: 3
device config strap: 0
device config fuse: 0
sdram config strap: 0

sending file: flash.bct
- 4080/4080 bytes sent
flash.bct sent successfully
odm data: 0xc0075
downloading bootloader -- load address: 0x108000 entry point: 0x108000
sending file: bootloader.bin
| 937416/937416 bytes sent
bootloader.bin sent successfully
waiting for bootloader to initialize
bootloader downloaded successfully
setting device: 1 0
creating partition: BCT
creating partition: PT
creating partition: EBT
creating partition: MSC
creating partition: SOS
creating partition: LNX
creating partition: APP
creating partition: CAC
creating partition: USP
creating partition: UDA
Formatting partition 2 BCT please wait.. done!
Formatting partition 3 PT please wait.. done!
Formatting partition 4 EBT please wait.. done!
Formatting partition 5 MSC please wait.. done!
Formatting partition 6 SOS please wait.. done!
Formatting partition 7 LNX please wait.. done!
Formatting partition 8 APP please wait.. done!
Formatting partition 9 CAC please wait.. done!
Formatting partition 10 USP please wait.. done!
Formatting partition 11 UDA please wait.. done!
done!
sending file: bootloader.bin
| 937416/937416 bytes sent
bootloader.bin sent successfully
sending file: recovery.img
- 4487168/4487168 bytes sent
recovery.img sent successfully
sending file: boot.img
- 4253696/4253696 bytes sent
boot.img sent successfully
sending file: system.img
\ 114905472/114905472 bytes sent
system.img sent successfully
[/codebox]

(using LD_LIBRARY_PATH is required to if you want to run nvflash without moving it and it's dependent libraries to the system search paths)

Link to comment
Share on other sites

Guest paulsmith
Today I flashed my Vega to 1.04 from Linux without any use of Windows at all.

To do this you need the Linux binary of nvflash, which is part of the linux4tegra download available at http://developer.nvidia.com/tegra/downloads.

Lovely - thanks for the feedback.

Which version of linux4tegra did you use? There are currently three versions on the url you supplied.

Linux For Tegra (L4T) Release (kernel 2.6.32; git tag tegra-10.9.3)

Linux For Tegra (L4T) Release (kernel 2.6.32; git tag tegra-10.8.2)

Linux For Tegra (L4T) Release (kernel 2.6.32; git tag tegra-10.7.2)

Link to comment
Share on other sites

Guest rossburton
Lovely - thanks for the feedback.

Which version of linux4tegra did you use? There are currently three versions on the url you supplied.

Linux For Tegra (L4T) Release (kernel 2.6.32; git tag tegra-10.9.3)

Linux For Tegra (L4T) Release (kernel 2.6.32; git tag tegra-10.8.2)

Linux For Tegra (L4T) Release (kernel 2.6.32; git tag tegra-10.7.2)

The latest, -10.9.3. As I'm only using the flasher I doubt it matters.

Link to comment
Share on other sites

  • 3 weeks later...
  • 3 months later...
  • 3 weeks later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.