1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 00:32:04 +02:00

usb: rockchip: implement skeleton for K_FW_GET_CHIP_VER command

Chip Version is a string saved in BOOTROM address space Little Endian.

Ex for rk3288: 0x33323041 0x32303134 0x30383133 0x56323030
which brings:  320A20140813V200

Note that memory version do invert MSB/LSB so printing the char
buffer would show: A02341023180002V

Signed-off-by: Alberto Panizzo <alberto@amarulasolutions.com>
This commit is contained in:
Alberto Panizzo
2018-07-12 13:05:42 +02:00
committed by Marek Vasut
parent cad66e324d
commit e4b34a7634
2 changed files with 49 additions and 4 deletions

View File

@@ -42,9 +42,12 @@ see doc/README.rockchip for more detail about how to get U-Boot binary.
sudo rkdeveloptool wl 64 <U-Boot binary>
There are plenty of Rockusb command. but wl(write lba) and
rd(reboot) command. These two command can let people flash
image to device.
Current set of rkdeveloptool commands supported:
- rci: Read Chip Info
- rfi: Read Flash Id
- rd : Reset Device
- td : Test Device Ready
- wl : Write blocks using LBA
To do
-----