Welcome, Guest

Author Topic: An official ArchLinux image with kernel 3.x ?  (Read 34838 times)

Fadil Berisha

  • Full Member
  • ***
  • Posts: 124
  • Karma: +7/-0
Re: An official ArchLinux image with kernel 3.x ?
« Reply #45 on: January 11, 2013, 06:03:55 AM »
Hi nulluser,


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

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: An official ArchLinux image with kernel 3.x ?
« Reply #46 on: January 12, 2013, 03:06:50 AM »
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

  • Full Member
  • ***
  • Posts: 124
  • Karma: +7/-0
Re: An official ArchLinux image with kernel 3.x ?
« Reply #47 on: January 12, 2013, 06:13:54 AM »
Happy to help

Fadil Berisha

cnoviello

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-0
Re: An official ArchLinux image with kernel 3.x ?
« Reply #48 on: January 27, 2013, 07:51:03 PM »
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