This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/DRA744: Linux Boot Time optimization & Graphic issue

Part Number: DRA744

Tool/software: Linux

For an Instrument Cluster application we are working to Fastboot Linux. Our target is to enter on the init (in userspace) <300,400 ms.

Currently we are very close to the target, but we are to solve the follow issues:

we noticed that 300ms are spent freeing the high pages.

This happens very early during boot and is implemented in function free_highpages() - inside arch/arm/mm/init.c.

We tried postponing the action to userspace (see patch attached), after the launch of critical applications - in our case: pvrsrvctl, the weston compositor and the instrument cluster. However, using this method, the applications begin to suffer from lack of memory, even if the full high memory is visbile to the system (verified through cat /proc/meminfo). This can be in particular noticed visually, with high-speed graphics that slow down.

In our impression this could be due the SGX graphic fw that does not recognize the full memory then.

Can you comment how we can hack the kernel or the SGX fw to save this 300 ms and having the graphic still full functional?

Br,

Fabio