How to use linux kernel I compiled?

@Spikerguy Kernel 5.2.0, ROOTFS:ArchLinuxARM, (no wifi and gpu drivers)

1 Like


I don’t know how to create this uInitrd, it seems to contain a gz file(may be initramfs) and 0x40 Bytes head,
I can only create initramfs-linux.img.
Can you help me?

Solved, I use mkimage to convert initramfs-linux.img!
(but still no wifi and gpu)

wifi driver is ready, maybe I can make a server image now!

1 Like

yes, go on ! :::::::::

@ravelo @Frank @balbes150 @Spikerguy @numbqq
My ArchLinuxArm Image is ready.
Archlinux_5.2.1_Server_Image

Linux_5.3.0-rc1_kernel&modules

    For wired connection:
  • dhcpcd service is disabled by default, you can enable it manually.
  • For wireless connection:
  • you can use 'wifi-menu' to connect to WiFi
  • If you want to test with another kernel,I've created a script(/root/update-uInitrd) to update uInitrd
  • usage: sh update-uInitrd [kernel version] [initramfs generate path+name]
  • How to use XDM
  • write your desktop session to ~/.xsession
    example:
    echo xfce4-session > .xsession
    echo startlxde > .xsession
  • make sure your .xsession is executable, `chmod +x .xsession`
  • you can enable (xdm.service || xdm-archlinux.service) or you can run xdm directly. Another question about XDM

Wifi works. but I have some problem about rootfs permission, normal user can’t even access file, so I can only login as root, I’ll post new image,modules and kernel, if you don’t want to use this only root image, just update modules and kernel to this new version. Or you can execute chmod 755 / to solve that problem.

After burning
you have to resize the rootfs partition manually.

Working on:
temperature-controlled gpio
usb wifi(rtl81xx,mediatek76xx)
HDMI Audio

username:alarm
password:alarm

username:root
password:root

3 Likes

@_no_proxy,OK,give me a link with you firmware.I will test it this two days.Thanks.

1 Like

Thank you for your test. :smile:

@_no_proxy,OK,we will test it.

1 Like

how did you fix the mess in the emmc ? did you finally flashed an android firmware there as a prerequisite ?

@ravelo No,just copy boot.ini from official image and have a little change.

What’s the kernel version ?

Kernel version is 5.2.1 .

1 Like

you uploaded “ArchLinuxArm_Server_VIM1_20190718.tar .xz”
when uncompressed and untared, does it output an img file we just need to flash (w/ dd or etcher) to EMMC ? SD ? USB drive ?

It’s a SD card/USB image
I didn’t try USB drive, I think you should modify boot.ini before booting with USB drive

I still do not understand how you made your ubuntu system in emmc correctly boot mainline kernel + arch linux on SD;

I think SD image and usb image behave the same when correctly started by emmc’s uboot …

Maybe the emmc’s uboot will read SD’s boot.ini at first

You can also boot with sd card by modifying boot.ini which in emmc

is this approved by @balbes150 and @numbqq as a relevant and pertistant solution ?
please publish here your current emmc’s boot ini

cf Manjaro Linux - Desktop Environment for KVIM1 and all the FUD related to the mess in the non android firmware in EMMC

Please wait, I’m on my way home.