Commit Graph

71 Commits

Author SHA1 Message Date
Zhuowei Zhang
1c818e4126 Replace UEFI Shell with a Linux kernel to test booting 2019-02-25 21:01:15 -08:00
Zhuowei Zhang
462c804024 Switch to virtual real time clock library
Thanks to imbushuo.
2019-02-25 20:59:41 -08:00
Zhuowei Zhang
6f2dd67c11 Fix build in CI: GCC5 doesn't accept lr as alias of x30 2019-02-25 20:59:18 -08:00
Zhuowei Zhang
e74a18e5e3 Update README 2019-02-25 20:12:08 -08:00
Zhuowei Zhang
8d05c0bd15 Add redistributor to Madt table 2019-02-25 19:47:12 -08:00
Zhuowei Zhang
89cad4a761 whoops, forgot to remove this MSI table 2019-02-25 17:21:42 -08:00
Zhuowei Zhang
9eaf29f86a Add acpiview command to shell 2019-02-25 17:14:02 -08:00
Zhuowei Zhang
b923cb5bdf Relocate edk2 to high memory before boot
This may allow Linux to boot more easily?
2019-02-25 14:16:55 -08:00
Zhuowei Zhang
372e6ee8ec Change device name in Smbios, remove boot timeout 2019-02-24 23:51:49 -08:00
Zhuowei Zhang
0d9ffd7a10 Add some reserved regions to the memory map 2019-02-24 20:00:49 -08:00
Zhuowei Zhang
d55e135511 Remove most of the ACPI tables for Pixel 3XL 2019-02-24 17:57:20 -08:00
Zhuowei Zhang
f7e339bc43 Remove Juno-specific code in SmbiosPlatformDxe
This fixes the freeze at startup
2019-02-23 21:59:42 -08:00
Zhuowei Zhang
6c2f8f2595 Change AcpiTables GUID back, mark supported ACPI versions
The AcpiTablesDxe looks for that GUID. Still freezes at boot.
2019-02-23 21:28:18 -08:00
Zhuowei Zhang
3448f2f889 Get AcpiTables and SmbiosPlatformDxe to compile
This freezes device when registering tables because of invalid addresses
2019-02-23 20:34:29 -08:00
Zhuowei Zhang
5ec95839cb Add ArmPlatform.h from Juno 2019-02-23 20:34:29 -08:00
Zhuowei Zhang
eed8fc1071 Add Acpi packages to FDF 2019-02-23 20:10:16 -08:00
Zhuowei Zhang
dd961af8e0 Add Acpi packages to the dsc 2019-02-23 20:08:51 -08:00
Zhuowei Zhang
893d86bcaa Copy AcpiTables from Juno 2019-02-23 20:08:10 -08:00
Zhuowei Zhang
ea7f4efd1f Copy SmbiosPlatformDxe from Juno 2019-02-23 20:04:56 -08:00
Zhuowei Zhang
8e76e86bf4 Add graphics console DXE and disable UGA for graphics
Oh, so that's why screen isn't turned on.
2019-02-23 18:17:49 -08:00
Zhuowei Zhang
021fa1e4d7 SimpleFbDxe: also flush cache after initial clear 2019-02-23 18:17:33 -08:00
Zhuowei Zhang
98d6c66bbd Fix architecture timer interrupt numbers
This gets us into UEFI shell, according to in memory serial, but still nothing on screen
2019-02-23 18:01:37 -08:00
Zhuowei Zhang
73299652d9 SimpleFbDxe: Attempt to flush cache after every blit; didn't work 2019-02-23 17:43:55 -08:00
Zhuowei Zhang
bfb1f3cc79 SimpleFbDxe: use FrameBufferBltLib 2019-02-23 17:37:46 -08:00
Zhuowei Zhang
90cdb3c876 Memory attributes, y u no work? 2019-02-23 17:37:32 -08:00
Zhuowei Zhang
fb7289c995 Actually enable the screen
You have one job, screen
2019-02-23 16:57:56 -08:00
Zhuowei Zhang
40d9b18c4f SimpleFbDxe: clear screen on load 2019-02-23 16:53:50 -08:00
Zhuowei Zhang
0659b959d1 Decreasing the amount of memory gets us into BDS
Screen still doesn't work though.
2019-02-23 16:47:38 -08:00
Zhuowei Zhang
aa8f3cccae Flush cache after every write to in memory serial 2019-02-23 16:37:11 -08:00
Zhuowei Zhang
941ccaf626 Added reboot code, doesn't do a thing. 2019-02-23 16:26:16 -08:00
Zhuowei Zhang
381b0ec79b Attempt to fix memory caches in DXE instead; didn't work 2019-02-23 16:07:12 -08:00
Zhuowei Zhang
9959419ab3 Revert the memory hob changes
Messing with memory leaves the UEFI's run time nasty, brutish, and short
2019-02-23 15:23:03 -08:00
Zhuowei Zhang
99b486b8c2 It seems if I have these in here, it panics in ArmCpuDxe
Guess the HOBs are still wrong.
2019-02-22 21:52:00 -08:00
Zhuowei Zhang
49ca4eeb68 Integrate SimpleFbDxe
Doesn't work yet (seems to freeze?)
2019-02-22 21:13:17 -08:00
Zhuowei Zhang
b2756dbb02 Add SimpleFbDxe from imbushuo's Lumia950XLPkg 2019-02-22 20:56:49 -08:00
Zhuowei Zhang
bc0204807f Remove the screen drawing code 2019-02-22 20:56:38 -08:00
Zhuowei Zhang
d03460e5b3 dxe is executing; paint screen green to celebrate 2019-02-22 20:56:05 -08:00
Zhuowei Zhang
780fa066fe That's actually the redistributor base 2019-02-22 20:46:28 -08:00
Zhuowei Zhang
f28d3cfe0a Mark in memory serial zone as uncached 2019-02-22 20:35:49 -08:00
Zhuowei Zhang
c4dc7bd403 Write serial output to memory 2019-02-21 22:36:47 -08:00
Zhuowei Zhang
b72ca8c17a rename files for base serial 2019-02-21 22:18:59 -08:00
Zhuowei Zhang
167479423d start working on in memory serial port 2019-02-21 22:16:50 -08:00
Zhuowei Zhang
9fbf75ca45 ok, this doesn't even reboot the device. So Dxe is broken 2019-02-21 20:15:14 -08:00
Zhuowei Zhang
6cfcdb0b4a we don't support gpio 2019-02-21 20:09:45 -08:00
Zhuowei Zhang
9995cef67f Remove network support
We'll never need it
2019-02-21 19:50:20 -08:00
Zhuowei Zhang
92856e4fce remove the serial port
We don't have a serial port yet
2019-02-21 19:50:00 -08:00
Zhuowei Zhang
7ba55e55f9 fix compile in Pixel3XLDxe
Nope, still doesn't reboot. So we didn't make into DXE.
2019-02-21 19:20:58 -08:00
Zhuowei Zhang
60b2a0bc8f Actually include the Pixel3XLDxe 2019-02-21 19:20:44 -08:00
Zhuowei Zhang
6b73595028 also reboot in dxe, just to confirm it's not reaching there 2019-02-21 19:04:10 -08:00
Zhuowei Zhang
cef0e0f475 Set screen to black in DXE to see if we get there 2019-02-21 19:01:49 -08:00