Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Enabling KGDB for AM335x



Kia ora James,
I'm no port-arm gatekeeper so I'm not going to answer any of your
questions about what is right, but I will point out one bit of
information.

You state in a comment "Need to mux the pins since fdt bus isn't up
yet". This is only sort-of true.

The NetBSD FDT bus is not ready yet for sure, but U-Boot has already
initialised the MUX using it's own FDT. You could add uart1
configuration to the devicetree used by U-Boot and then U-Boot will
configure the hardware for you. Configuring the hardware so that the
kernel can boot is one of U-Boot's stated jobs.

The kernel can support both methods with a #ifdef option.

Whether or not you want to put that work into U-Boot is up to you.

Ngā mihi,
Lloyd



Home | Main Index | Thread Index | Old Index