Platform Adaptation and Bring-Up
Jetson Nano Platform Adaptation and Bring-Up Guide DA_09361-002 | 26
This example defines a corresponding set of cooling states:
pwm-fan {
compatible = "pwm-fan";
status = "okay";
pwms = <&tegra_pwm 3 45334>;
shared_data = <&pwm_fan_shared_data>;
active_pwm = <0 80 120 160 255 255 255 255 255 255>;
};
Other Considerations When Porting
This section discusses some other considerations and recommendations to keep in mind
when porting.
Boot Time Reduction
GNOME shell is the default display and window manager for Ubuntu 18.04. Although it
brings a new look to the user experience it comes with performance and memory
overhead problems. Many GDM3 and GNOME shell issues are known, with fixes under
development. However, considering the Ubuntu release timelines and the trivial nature
of the fixes, these fixes may not be backported to Ubuntu 18.04.
Therefore, below are some suggestions for reduce boot time by tweaking rootfs and
kernel.
Root Filesystem
These changes to the root filesystem may reduce boot time.
• Enable autologin for GDM3 (saves about 14 to 19 seconds of boot time).
• Set power mode to MAXN (saves about 8 to 10 seconds of boot time).
• Use a lightweight display manager like LightDM. The LightDM service takes about
3 to 5 seconds to start.
To install and configure lightdm display manager, enter the commands:
sudo apt-get update
sudo apt-get install lightdm
sudo dpkg-reconfigure lightdm
• Use a lightweight window manager like LXDE. LXDE takes 3 to 4 seconds to bring
up the desktop after login.