<timsu>
I want to compile my mainline Kernel 6.9 for Longan Pi. First I run `make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu sunxi_defconfig` which creates my .config file. After that I run `make`. Why does it say "Restart config" and I have to select lots of options. Shouldn't this be preconfigured?
apritzel_ has left #linux-sunxi [#linux-sunxi]
<gnarface>
timsu: not sure why, but did you forget to pass ARCH and CROSS_COMPILE to the second make?
apritzel___ has joined #linux-sunxi
<apritzel___>
timsu: you have to give ARCH= and CROSS_COMPILE= for each call of make
<apritzel___>
best is just to export them in your current shell
<apritzel___>
and also: it's ARCH=arm64
<apritzel___>
and there is no sunxi_defconfig in arm64, so just use defconfig
<apritzel___>
and expect to add quite some more options, especially if you want to compile them in
<timsu>
okay, this works now. But should these default options be enough to get a basic booting kernel?
<apritzel___>
basic booting: yes, that's the idea of the arm64 defconfig
<timsu>
serial debug console should also work, right?
<apritzel___>
yes, it includes all clocks, pinctrl, and MMC
<apritzel___>
I suggest you use "console=ttyS0,115200n8 earlycon" on the command line
<apritzel___>
the latter gives you early output, before the console driver has probed
timsu has quit [Remote host closed the connection]