building my own rootfs for arch linux arm

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

building my own rootfs for arch linux arm

Postby codescriber » Wed Apr 19, 2023 11:10 am

Hi.
I have a hummingboard2 board for which i tried to run archlinux arm, the image is actually running i must say, however:
1. the emmc is not identified, not even by u-boot, however if i install the uboot from the soildrun site (for debian) then i do have it, not that much of an issue cause i couldn't care less where my uboot.img and SPL files come from so i can just grub the debian one and use that.
2. i can't get the ethernet to get DHCP. according to the web it's because the kernel is a very old one (3.14) while the systemd is newer. i would like to add a package and install it on the rootfilesystem that includes a new kernel, it seems like mainline kernel DOES support this board including devicetree specifically for hummingboard2 with emmc. Any easy way to do it ? any ready made scripts\dockers ?

thanks.
codescriber
 
Posts: 1
Joined: Mon Jul 30, 2018 8:38 pm

Re: building my own rootfs for arch linux arm

Postby summers » Thu Apr 20, 2023 6:09 am

If the kernel for the board has a device tree, then should be straight forward. Just download the kernel for your board, build, and make sure you build the device trees. Next you'll have to get uboot, to call the kernel with the device tree. So you have to work out how uboot gets it's settings, e.g. Is it from environment variables, or does it read a file. Whichever it uses, point it to also pass the device tree, most recent uboot can do this. If I remember later, I'll pass on the settings I use on various boards ....
summers
 
Posts: 995
Joined: Sat Sep 06, 2014 12:56 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 9 guests