History log of /device/linaro/bootloader/arm-trusted-firmware/plat/hikey/usb.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
554b28ac1d6a6c75893fb5831107fee464ce581d 08-Sep-2016 Vishal Bhoj <vishal.bhoj@linaro.org> HiKey: usb: return bootloader version as 0.4

The bootloader version should be same in arm-trusted-firmware
and edk2. It is 0.4 in edk2 and hence setting the same
here for all the checks to pass while flashing.

Change-Id: I35848c08eb07ddb0d6895ddd49988488276913a4
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/usb.c
2111fbe1ea0a227c52069689221a95de913fc927 29-Aug-2016 Dmitry Shmidt <dimitrysh@google.com> hikey: Change product response to "hikey"

$ fastboot getvar product - should be consistent with
ro.product.device value that is set from the build.

Change-Id: Ib927ea292f20baaeaa7d295a1d113fe35719613d
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/usb.c
7f58aa36c7b4215c289f4e7e1ff2175462dfb601 26-Aug-2016 Vishal Bhoj <vishal.bhoj@linaro.org> hikey: usb: (Hack) return true for erase command

Erase functionality is not implemented but we need to
return true for fastboot -w update.zip command to work.

Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/usb.c
a1d0a7b097cefec3b4bedc8fa2212bdd9a5033f7 23-Aug-2016 Vishal Bhoj <vishal.bhoj@linaro.org> hikey: usb: support more variables in getvar command

Add support for partition-size, partition-type, version-bootloader
and product in getvar command. With this we can support
fastboot -w update.zip

Change-Id: I9a31cae274885cda185397eb3f57477cf63e0166
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/usb.c
2190a7195ed2aed0d52958d92e3c405bc4245112 07-Jan-2016 John Stultz <john.stultz@linaro.org> arm-trusted-firmware: Fixup fastboot getvar hang on unknown variable

The fastboot implementation doesn't return an error if it hits
a varable it doesn't know. This results in host's fastboot hanging
if it tries to query for an unsupported variable.

This patch addresses this by returning an error in the case
that the var is unkonwn.

Signed-off-by: John Stultz <john.stultz@linaro.org>
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/usb.c
7a0e1dd0f7ad4ba3137dcba1ca833502c535d7b8 24-Nov-2015 Haojian Zhuang <haojian.zhuang@linaro.org> hikey: fastboot: support reboot command

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/usb.c
59fe132c49f99af8ef1969f13a94ba850e72b6a5 27-Oct-2015 Haojian Zhuang <haojian.zhuang@linaro.org> hikey: control user led by fastboot

Control user led1-4 by fastboot command.

$ fastboot oem led1 on
...
OKAY [ 0.000s]
finished. total time: 0.000s

$ fastboot oem led1 off
...
OKAY [ 0.000s]
finished. total time: 0.000s

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/usb.c
b85b3f3717ec3b0af0a2e992f01d533e31e90803 27-Oct-2015 Haojian Zhuang <haojian.zhuang@linaro.org> hikey: change sn by assigned value

According to factory's requirement, they also want to update serialno
by assigned value.

$ fastboot oem serialno set 1234567890abcdef
...
OKAY [ 0.001s]

Add the function to dump serialno from hikey.

$ fastboot getvar serialno
serialno: 1234567890abcde
finished. total time: 0.000s

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/usb.c
8a372351b7c5794c05e4a69bf1fae35b8c110fcb 17-Sep-2015 Haojian Zhuang <haojian.zhuang@linaro.org> hikey: sn: force to generate new SN

Provide the command to generate SN forcely.
$sudo fastboot oem serialno

Then reboot the board, a new SN is used for fastboot protocol.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/usb.c
b90a668aabe56b07d93b27d9ef914a5d6cbbc41e 17-Sep-2015 Haojian Zhuang <haojian.zhuang@linaro.org> hikey: fastboot: load generated serial number

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/usb.c
3da0f46f461e4927a67646685552cf096db7aa53 10-Sep-2015 Haojian Zhuang <haojian.zhuang@linaro.org> hikey: fastboot: update the download region

The download image address is changed to 0x2000_0000. And the maximium
download image size is changed to 256MB. Since we need to reserve the
region as filling 0.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/usb.c
58cdb931475a1cf9f65e8a84a107ed6f73a87874 09-Sep-2015 Haojian Zhuang <haojian.zhuang@linaro.org> hikey: fastboot: increase maximium download size

Increase the maximium download size from 128MB to 500MB.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/usb.c
19f72d7f8125d9c6283f8851f7ddc07ea2a7b213 27-Mar-2015 Leo Yan <leo.yan@linaro.org> hikey: polish for register's definition

After register header files have been updated, also need polish the code
according to the updated register's definition.

Signed-off-by: Leo Yan <leo.yan@linaro.org>
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/usb.c
2cb2f7e3b5aa150d70afc5fcf574265c68491063 16-Feb-2015 Haojian Zhuang <haojian.zhuang@linaro.org> hikey: enable flushing in bl1

Implement the rescure mode that flushing BL1 from USB port to eMMC.
And fastboot protocol is supported.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/usb.c