Phase 1: Prepare Kernel (Linux aarch64 Build VM)
-
Download & Extract Kernel:
wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.6.85.tar.xz tar xvJf linux-6.6.85.tar.xz cd linux-6.6.85 -
Configure & Compile Kernel:
| Octeon ubnt_e120# printenv | |
| bootcmd=fatload usb 0 $loadaddr vmlinux.64;bootoctlinux $loadaddr coremask=0x3 root=/dev/sda2 rootdelay=15 rw rootsqimg=squashfs.img rootsqwdir=w mtdparts=phys_mapped_flash:512k(boot0),512k(boot1),64k@1024k(eeprom) | |
| bootdelay=0 | |
| baudrate=115200 | |
| download_baudrate=115200 | |
| nuke_env=protect off $(env_addr) +$(env_size);erase $(env_addr) +$(env_size) | |
| autoload=n | |
| ethact=octeth0 | |
| loadaddr=0x9f00000 | |
| numcores=2 |
Phase 1: Prepare Kernel (Linux aarch64 Build VM)
Download & Extract Kernel:
wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.6.85.tar.xz
tar xvJf linux-6.6.85.tar.xz
cd linux-6.6.85Configure & Compile Kernel:
Chapter 1
Run the ``hello, world'' program on your system. Experiment with leaving out parts of the program, to see what error messages you get.Experiment to find out what happens when prints's argument string contains \c, where c is some character not listed above.Modify the temperature conversion program to print a heading above the table.Write a program to print the corresponding Celsius to Fahrenheit table.Modify the temperature conversion program to print the table in reverse order, that is, from 300 degrees to 0.Verify that the expression getchar() != EOF is 0 or 1.Write a program to print the value of EOF.Write a program to count blanks, tabs, and newlines.| # Ensure the script is running as Administrator | |
| If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { | |
| Write-Output "Please run this script as an Administrator!" | |
| Exit | |
| } | |
| # Define the registry paths to clean | |
| $graphicsDriversPath = "HKLM:\SYSTEM\CurrentControlSet\Control\GraphicsDrivers" | |
| $subKeys = @("Configuration", "Connectivity", "ScaleFactors") |
| #include <iostream> | |
| #include <climits> | |
| long long int f0 = { 0 }; | |
| long long int f1 = { 1 }; | |
| long long int fn = {}; | |
| int main() | |
| { | |
| std::cout << "Printing fibbonacci sequence\n"; |
| @echo off | |
| echo Disabling Oculus packages... | |
| adb shell pm disable-user --user 0 com.oculus.explore | |
| if %errorlevel% neq 0 echo Failed to disable com.oculus.explore | |
| adb shell pm disable-user --user 0 com.oculus.socialplatform | |
| if %errorlevel% neq 0 echo Failed to disable com.oculus.socialplatform | |
| adb shell pm disable-user --user 0 com.meta.curio.toybox |
| #include <iostream> | |
| #include <string> | |
| #include <cmath> | |
| #include <iomanip> | |
| long double e = 1.0; | |
| long double term = 1.0; | |
| int i = 1; | |
| long double precision = 1.0e-10; | |
| bool flag_found = false; |
| import serial | |
| import time | |
| import logging | |
| import sys | |
| logging.basicConfig(level=logging.DEBUG, | |
| format='%(asctime)s - %(levelname)s - %(message)s', | |
| handlers=[ | |
| logging.StreamHandler(sys.stdout), | |
| logging.FileHandler('switch_config.log') |
| # Copyright (c) 1993-2009 Microsoft Corp. | |
| # | |
| # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. | |
| # | |
| # This file contains the mappings of IP addresses to host names. Each | |
| # entry should be kept on an individual line. The IP address should | |
| # be placed in the first column followed by the corresponding host name. | |
| # The IP address and the host name should be separated by at least one | |
| # space. | |
| # |
| https://arduino.esp8266.com/stable/package_esp8266com_index.json, https://espressif.github.io/arduino-esp32/package_esp32_index.json, https://mcudude.github.io/MightyCore/package_MCUdude_MightyCore_index.json, https://github.com/SpenceKonde/DxCore, http://drazzy.com/package_drazzy.com_index.json, https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json, https://adafruit.github.io/arduino-board-index/package_adafruit_index.json |