Water cooling case prototype for CM4 board with Compute Module 4 and NVMe SSD

I would like to give special thanks to the following two companies that helped me with 3D printing and laser cutting. 3D components printing: Laser cutting in acrylic: Summary of prices 1. Pipes Name Price URL Transparent pipes 10 mm 82,46 PLN https://amzn.eu/d/9NODjaX Innovatek transparent pipe, 1m, 8mm (500898) 28,57 PLN https://www.morele.net/innovatek-waz-przezroczysty-1m-8mm-500898-546513 In total: 111,03 PLN ...

July 23, 2023 · 2 min · 352 words · sysadmin

How to install Raspberry Pi OS onto NVMe drive using M.2 USB-C adapter

July 21, 2023 · 0 min · 0 words · sysadmin

How to clone CM4 eMMC onto NVMe and boot

Video Instruction How to change the boot order of the bootloader EEPROM to be able to boot from the NVMe drive? To make it work you have to just power on the CM4 board where there is currently Raspberry Pi OS installed and check the configuration using the command: Log into the CM4 Raspberry Pi OS through the SSH. Check the configuration in the command line: 1 rpi-eeprom-config You can see the line: BOOT_ORDER= Poweroff the operating system on CM4 board. There is a good tutorial on the raspberry pi official website: Compute Module hardware - Datasheets and Schematics ...

July 20, 2023 · 4 min · 696 words · sysadmin

How to mount NVMe drive in CM4 board using PCIe adapter

Video Instructions Introduction Tutorial Put the NVMe drive into the PCIe adapter. Put the PCIe adapetr into CM4 board PCIe slot. Plug the power and boot the Raspberry Pi OS. Check the version of the firmware with the below command: 1 vcgencmd version Check the status of the NVMe drive with below commands: 1 2 lsblk blkid Poweroff the Raspberry PI OS with the below command: 1 sudo systemctl poweroff

July 18, 2023 · 1 min · 70 words · sysadmin

How to flash Raspberry Pi OS onto the Compute Module 4 eMMC with usbboot

There are two primary variations of the Raspberry Pi Compute Module 4: one with integrated eMMC storage and one without. If you choose a Compute Module 4 with integrated eMMC storage and you wish to manually change files on the boot volume or write a new OS image to the Compute Module, you may do it just like you would with a microSD card, but first you must make the eMMC storage mountable on another computer. ...

July 16, 2023 · 3 min · 600 words · sysadmin

Water cooling for CM4 board with compute module 4 and NVMe SSD

Michael Klement’s project

July 14, 2023 · 1 min · 3 words · sysadmin

Working with Docker containers in Jenkins

Exercises to complete: Run a pipeline in job in Jenkins Watch the status of docker Change the name of the image to see that it has to be correct according to the pattern explained in the video Fix the problem with not enough space on a logical volume 1. Run the below pipeline in job in Jenkins pipeline { agent { docker { image 'alpine:latest' label 'docker' } } stages { stage('Test') { steps { sh ''' cat /etc/os-release pwd cat /etc/passwd sleep 60 ''' } } } } 2. Watch the status of the docker 1 watch docker ps 3. Change the name of the image to see that it has to be correct according to the pattern explained in the video. 4. Fix the problem with missing space on a logical volume. Use the below commands to perform a check and solve the problem. Check which volume is almost full or full 1 df -kTh list 10 biggest files in a var directory that is a volume with not enough space 1 2 3 du -a /var | sort -n - r | head -n 10 # or with -h (human readable format) du -h /var | sort -n - r | head -n 10 Run docker prune command. The Docker prune command automatically removes the resources not associated with a container. This is a quick way to get rid of old images, containers, volumes, and networks. ...

July 11, 2023 · 2 min · 353 words · sysadmin

How to create a pipeline with docker container inside Jenkins job

Exercises to complete: Create a job inside a Jenkins Create a pipeline inside a job Add a label for a docker node Install Docker plugins Fix dial unix /var/run/docker.sock permissions Run the job 1. Create a jenkins pipeline inside the job pipeline { agent { docker { image 'node:18.16.0-alpine' } } stages { stage('Test') { steps { sh 'node --version' } } } } 2. Add a label docker, because the added docker node has label: docker pipeline { agent { docker { image 'node:18.16.0-alpine' label 'docker' } } stages { stage('Test') { steps { sh 'node --version' } } } } 3. Fix issue: Invalid agent type specified. Must be one of [any, label, none] by installing Docker plugins: Docker Commons Docker API Docker Docker Pipeline 4. Run the job 5. Fix dial unix /var/run/docker.sock permissions for jenkins user on a docker node. Please note that you need to have sudo privileges or root access. 1 2 3 id jenkins sudo usermod -aG docker jenkins id jenkins 6. Restart docker on a docker node. 1 sudo systemctl restart docker.socket docker.service 7. Restart jenkins 1 sudo systemctl restart jenkins.service 8. Run the job 9. Change the operating system in pipeline and run the job again pipeline { agent { docker { image 'node:latest' label 'docker' } } stages { stage('Test') { steps { cat /etc/os-release sh 'node --version' } } } } 10. Run the job

July 11, 2023 · 2 min · 236 words · sysadmin

The Billion Dollar Code

The Billion Dollar Code Two German computer pioneers who go to court in the fight against an apparently invincible opponent in order to be recognized as the inventor of the Google Earth algorithm. The series illuminates both the hacker scene in post-reunification Berlin in the 90s, as well as the idealistic world of early Silicon Valley and the harsh reality of a multi-million dollar process. ...

July 6, 2023 · 1 min · 69 words · sysadmin

Why AGI will not be realized? The Singularity isn’t near. Does our brain use quantum computation?

Links to articles are provided at the bottom. Progress here is deeply affected by the ways in which our brains absorb and process new information, and by the creativity of researchers in dreaming up new theories. Gaining a comprehensive scientific understanding of human cognition is one of the hardest problems there is. Without having a scientifically deep understanding of cognition, we can’t create the software that could spark the singularity. We are only in the “kindergarten” of AI. Ideas, concepts from the 1950s/60s (e.g., perceptron) and their development in the form of neural networks pay off today only as a derivative of computing power (hardware) and new software concepts (e.g., transformers and attentional). Cognitive AI functions are a challenge, without a better understanding of the human brain and how it works, it is a challenge for decades to come. ...

June 14, 2023 · 5 min · 890 words · sysadmin