loongson-community / linux-wip

Playground for Linux/Loongson upstream work
Other
3 stars 0 forks source link

Full DeviceTree Boot #3

Open FlyGoat opened 4 years ago

FlyGoat commented 4 years ago

The present boot_param had given us too much overhead. So now it's time to throw it away and introduce modern booting protocol.

ACPI can be an option but it has never been used by MIPS before thus it lacks a huge amount of infrastructures in Kernel. DeviceTree is a wise choice then.

To keep backward compatibility with present firmware, we need to select the correct base of Built-in DeviceTree and patch or overlay the DeviceTree with information in boot_param.

TODO:

FlyGoat commented 4 years ago

Blocks: #1