[yocto] R: Kernel debugging over serial console?
Apelete Seketeli
apelete at seketeli.net
Tue Sep 17 07:11:53 PDT 2013
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