Enable EBP(Early Boot Partition) in tx2

Hi, i’m a student studying kernel on tx2.

I found a CONFIG_EBP but i don’t know what it is and how can i enable this.
I’m optimizing kernel and reducing booting time so I want to know what it is and how to use it!

Have a nice day.

hello lcj3722,

please check Jetson TX2 Boot Flow,
please refer to Kernel Boot Time Optimization chapter to decrease kernel boot time.
thanks

hello JerryChang,

Thank you for your help.
I already checked it but I can’t find answer.

when i enable this option, tx2 doesn’t boot.

Hi,

Where have you studied about Config EBP?
Can you point to the Kconfig file from the upstream kernel code?

/JetPack_4.2_Linux_P3310/Linux_for_Tegra/sources/kernel/nvidia/arch/arm64

here

Please ignore that.
Its a work in progress.

I have a problem with the explanation found under the boot time optimization underhttps://docs.nvidia.com/jetson/archives/l4t-archived/l4t-321/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide%2Fkernel_boot_time.html%23. Specifically the section about disabeling the real time clock, first of all the config file is now called tegra_defconfig, it was named tegra21_defconfig in the earlier version. Further there is no line with

CONFIG_RTC_DRV_MAX77620=y

in that file, the only line that got close enough to this was:

CONFIG_RTC_DRV_MAX77686=y

is this ok to remove this line?
Also in the dts file mentioned tegra186-quill-p3310-1000-a00-00-base.dts there is no section about rtc {} is this normal? Do I just add the section that is mentioned in the explanation:

rtc {
        compatible = "nvidia,tegra-rtc";
        reg = <0x00000000 0x00000003 0x00000002 0x0000009b>;
        interrupts = <0x00000000 0x00000005 0x00000002>;
        status = "disabled";
    };

I have searched in all other dts files for any section remotely similar to this but apart from a section

rtc {
		nvidia,pmc-wakeup = <&tegra_pmc PMC_WAKE_TYPE_EVENT 16
				     PMC_TRIGGER_TYPE_HIGH>;
	};

that I found in the file ~/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/Linux_for_Tegra/sources/hardware/nvidia/platform/t210/jetson/kernel-dts/tegra210-jetson-common.dtsi