[yocto] R: R: Kernel debugging over serial console?
BITONTI Giuseppe (MM)
giuseppe.bitonti at external.magnetimarelli.com
Tue Sep 17 07:31:56 PDT 2013
Thank you, I solved it.
It was my mistake, I was modifing the wrong defconfig file.
Regards,
Giuseppe
-----Messaggio originale-----
Da: Apelete Seketeli [mailto:apelete at seketeli.net]
Inviato: martedì 17 settembre 2013 16:12
A: BITONTI Giuseppe (MM)
Cc: yocto at yoctoproject.org
Oggetto: Re: R: [yocto] Kernel debugging over serial console?
On 17-Sep-13, BITONTI Giuseppe (MM) wrote:
> Thanks Apelete for your help, but the command you suggested returns the following:
>
> root at imx6qsabrelite:~# cat /sys/module/kgdboc/parameters/kgdboc
> cat: can't open '/sys/module/kgdboc/parameters/kgdboc': No such file
> or directory
>
> root at imx6qsabrelite:~# echo ttymxc1,115200 >
> /sys/module/kgdboc/parameters/kgdboc
> -sh: can't create /sys/module/kgdboc/parameters/kgdboc: nonexistent
> directory
>
> What I miss?
Interesting.
I am not sure how it is handled in Poky 1.4, but on a vanilla Linux distribution you should have directories in /sys/module/ for the kernel modules which need them for their configuration.
kgdboc being such a module, it should have its own directory there.
Could you do:
root at imx6qsabrelite:~# ls -l /sys/module/kgdboc
And paste the output here ?
Cheers.
--
Apelete
More information about the yocto
mailing list