Compute Module 4

Ask questions about Arch Linux ARM. Please search before making a new topic.

Compute Module 4

Postby dk23 » Sun May 07, 2023 10:55 pm

ref:https://archlinuxarm.org/forum/viewtopic.php?f=9&t=16341#p70586

I was able to score a couple of CM4s. and struggling to get one even booting using the install for rpi4 for aarch64
The above post suggests
$this->bbcode_second_pass_code('', '# pacman -S linux-rpi raspberrypi-bootloader firmware-raspberrypi')

I don't understand how you can run pacman on a systems that not booting.
In the above post my understand is the op systems was not booting.

Sure would be welcomed if someone with the skill would add a install section for CM4

Thanks
dk23
dk23
 
Posts: 25
Joined: Wed Feb 04, 2015 4:18 pm

Re: Compute Module 4

Postby graysky » Mon May 08, 2023 5:49 am

$this->bbcode_second_pass_quote('dk23', 'I') don't understand how you can run pacman on a systems that not booting.
In the above post my understand is the op systems was not booting.


You need to run it from another functional aarch64 box. Like a RPi4 or whatever.
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Compute Module 4

Postby robg » Mon May 08, 2023 10:51 am

You can also achieve this using QEMU on a regular x86_64 machine.
robg
 
Posts: 186
Joined: Tue Jan 05, 2021 8:22 am

Re: Compute Module 4

Postby dk23 » Tue May 09, 2023 1:19 am

The CM4s that I have, have eMMC storage and do not boot from SD card.

Going to try rsync to copy sd card to eMMC.

Thanks
dk23
dk23
 
Posts: 25
Joined: Wed Feb 04, 2015 4:18 pm

Re: Compute Module 4

Postby dk23 » Sun May 14, 2023 2:52 pm

To close out this topic:

With help from post https://archlinuxarm.org/forum/viewtopic.php?f=9&t=16341&start=10I was able to build 4 CM4s with eMMC storage. Built an image on RPI4 and tared up the SD card, mounted on a workstation. Using RPIUSboot and RPI I/o board tar copied the image to eMMC. Booted up the CM4 fixed up machine-id, ssh fingerprint and network address for each CM4.

The CM4s are nodes in a TuringPi2 cluster, https://turingpi.com/.
Maybe as CM4 become more available, u-boot can be updated to provide CM4 support.

For anyone interested in CM4 clusters there is another interesting one that should be available later this year, https://computeblade.com/


dk23
dk23
 
Posts: 25
Joined: Wed Feb 04, 2015 4:18 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 8 guests