Conversation
| .product = "LEO EDK2", | ||
| }; | ||
|
|
||
| #define MEMBASE 0x28000000 |
There was a problem hiding this comment.
Make this dynamic from PCD
| { | ||
| fastboot_register("boot", cmd_boot); | ||
| //fastboot_register("continue", cmd_continue); | ||
| fastboot_register("reboot", cmd_reboot); |
There was a problem hiding this comment.
oem redmem/write? Use the mem code
dmesg+smesg?
flashing to sd
| @@ -0,0 +1,238 @@ | |||
| #ifndef __LIBRARY_LKENV_H__ | |||
There was a problem hiding this comment.
Merge to the header in Include
QSD8250Pkg/Library/LkLib/lk.c
Outdated
| EFI_TPL OriginalTPL; | ||
| EFI_STATUS Status = EFI_SUCCESS; | ||
|
|
||
| void enter_critical_section(void) { |
QSD8250Pkg/Library/UsbLib/hsusb.c
Outdated
| #include <Chipset/irqs.h> | ||
| #include <Chipset/interrupts.h> | ||
|
|
||
|
|
| return -1; | ||
| } | ||
|
|
||
| /* create our device descriptor */ |
Largely based on EFIDroid fastboot implementation
6475ac6 to
f3ddfad
Compare
|
Current status:
|
| FastbootRegister("boot", CommandBoot); | ||
| FastbootRegister("reboot", CommandReboot); | ||
| FastbootPublish("product", "EDK2 LEO"); | ||
| FastbootPublish("kernel", "lk"); |
There was a problem hiding this comment.
Bit nitpicky, but isn't registering this fastboot var as lk incorrect?
|
|
||
| FastbootRegister("boot", CommandBoot); | ||
| FastbootRegister("reboot", CommandReboot); | ||
| FastbootPublish("product", "EDK2 LEO"); |
There was a problem hiding this comment.
Also I guess this variable should be crafted on build time or something similar if intended to be ran on multiple supported devices
There was a problem hiding this comment.
Definitely, getting this from PCD is on my todo list
| const char *Info | ||
| ) | ||
| { | ||
| FastbootAck("OKAY", Info); |
There was a problem hiding this comment.
IIRC extra bootloader messages don't get shown on OKAY ack so any info provided through this is discarded by the fastboot client
This is mostly to see the changes because I also did a lot of unrelated changes that I want to remove