An official ArchLinux image with kernel 3.x ?

Started by laurent, November 28, 2012, 12:05:08 PM

Previous topic - Next topic

Fadil Berisha

Hi nulluser,

Quote from: nulluser on January 11, 2013, 12:02:38 AM

LLLLLLLFCLJUncompressing Linux... done, booting the kernel.

This message show's that kernel start boot and before get at point to activate debug console - kernel crash. That is reason why you don't see any message on debug console. It is possible to enable earlyprintk in kernel to see some info on screen. earlyprintk is used in unknown/new systems during test phase.

That is one way to go but for sure you will spend less time if once again repeat procedure at  https://github.com/koliqi/imx23-olinuxino. Please don't do any shortcut, 1st time follow instructions step by step and latter you can do experiment of your choice.

Fadil Berisha

nulluser

I did end up getting it working. A stupid mistake, I was appending the uncompiled dtb to the kernel.

Here is my build script:

#!/bin/bash

make ARCH=arm CROSS_COMPILE=arm-none-eabi- distclean
make ARCH=arm CROSS_COMPILE=arm-none-eabi- clean

read -p "Pause..."

cp config.last .config

make ARCH=arm CROSS_COMPILE=arm-none-eabi- menuconfig

cp .config config.last


read -p "Pause..."

make ARCH=arm CROSS_COMPILE=arm-none-eabi- zImage

read -p "Pause..."

make ARCH=arm CROSS_COMPILE=arm-none-eabi- INSTALL_MOD_PATH=output modules

read -p "Pause..."

make ARCH=arm CROSS_COMPILE=arm-none-eabi- INSTALL_MOD_PATH=output modules_install

read -p "Pause..."

make ARCH=arm CROSS_COMPILE=arm-none-eabi- imx23-olinuxino.dtb

read -p "Pause..."

rm arch/arm/boot/zImage_dtb

cat arch/arm/boot/zImage arch/arm/boot/imx23-olinuxino.dtb > arch/arm/boot/zImage_dtb






Here is my script to prep the card:
#!/bin/bash

sd_device="/dev/$11"

cd ../../boot/imx-bootlets-src-10.05.02

make CROSS_COMPILE=arm-none-eabi-  clean
make CROSS_COMPILE=arm-none-eabi-

echo "Writing to " $sd_device

dd if=sd_mmc_bootstream.raw of=$sd_device

cd ../../kernel/linux-stable/


They are crude, but they do the job for me.


Now I have a solid 3.7.1 with a debian rootfs.

Thanks.









Fadil Berisha


cnoviello

Hi,
Kernel 3.7.1 doesn't seem to enable watchdog. How can I enable it or its support is currently missing in 3.7 kernel?

Regards,
Carmine noviello