Skip to content

Instantly share code, notes, and snippets.

View omac777's full-sized avatar

David Marceau omac777

View GitHub Profile
@omac777
omac777 / gist:5e0ce8e8a3c9a7c6de52cc4b842f4804
Created May 10, 2023 18:54
Uart Output for rolling release kernel Ubuntu Server on Starfive VF2 and Logging into it for the first time
U-Boot SPL 2021.10 (Mar 24 2023 - 01:42:56 +0800)
DDR version: dc2e84f0.
Trying to boot from SPI
OpenSBI v1.2
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
@omac777
omac777 / gist:e74424707aec112a0e707af24a323aaf
Created May 10, 2023 18:44
First time logging into Ubuntu Server on Starfive Visionfive 2
ssh ubuntu@192.168.2.79
You are required to change your password immediately (administrator enforced).
Welcome to Ubuntu Lunar Lobster (development branch) (GNU/Linux 6.2.0-19-generic riscv64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
@omac777
omac777 / gist:7fdc579854849b8e0a4cb81f4b999359
Created May 10, 2023 18:39
ubuntu server on starfive visionfive 2
Ok so here is what I did:
```
wipefs --all /dev/sdb
xz -dk ubuntu-23.04-preinstalled-server-riscv64+visionfive2.img.xz
dd if=./ubuntu-23.04-preinstalled-server-riscv64+visionfive2.img of=/dev/sdb bs=4M status=progress conv=fdatasync
```
along with the uart output:
davidm@carouselYOW 2023-02-05_17:02:09_EST : ~/ksplay
$ time sudo ./myRunCreateAppliance.sh
[sudo] password for davidm:
Skipping missing package 'starfive-arts'
Skipping missing package 'bcm4343b0-firmware'
Skipping missing package 'kernel-vic7100-modules'
Skipping missing package 'kernel-vic7100-devel'
Skipping missing package 'kernel-vic7100-core'
Skipping missing package 'kernel-vic7100'
Skipping missing package 'kernel-vic7100-modules-extra'
@omac777
omac777 / Cargo.toml
Last active October 5, 2022 03:01
an instance of an egui eframe template tweaked with 18 column 96 row table with both horizontal and vertical scroll areas
[package]
name = "egui_tst_tbl1"
version = "0.1.0"
authors = ["David Marceau <uticdmarceau2007@gmail.com>"]
edition = "2021"
rust-version = "1.60"
[dependencies]
egui = "0.19.0"
eframe = { version = "0.19.0", features = ["persistence"] }
@omac777
omac777 / gist:1c0c58ab6671a35b6bf7b838ea020ee9
Created September 29, 2022 03:43
build error Redox OS within netsurf on XeroLinux (Arch-based) 28 Sept 2022
This file has been truncated, but you can view the full file.
[davidm@carouselYOW-XeroLinux ~]$ cat /etc/os-release
NAME="XeroLinux"
PRETTY_NAME="XeroLinux"
ID=XeroLinux
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://xerolinux.xyz/"
LOGO=XeroLinux
IMAGE_ID=xerolinux
@omac777
omac777 / gist:445c669bd25d79d436d2ec7f57abc42e
Created September 26, 2022 22:16
got redox aarch64 login prompt 26 Sept 2022 1816hrs
davidm@carouselYOW 2022-09-26_18:12:09_EDT : ~/tryredox/redox
$ time ARCH=aarch64 make kvm=no vga=no qemu
env --unset=RUSTUP_TOOLCHAIN cargo build --manifest-path cookbook/Cargo.toml --release
warning: associated function is never used: `new`
--> src/progress_bar.rs:33:12
|
33 | pub fn new(pb: &'p mut ProgressBar<P>, w: &'w mut W) -> ProgressBarWrite<'p, 'w, P, W> {
| ^^^
|
= note: `#[warn(dead_code)]` on by default
@omac777
omac777 / buildErrorQemuSystemAarch64NotFound26Sept2022.txt
Created September 26, 2022 16:43
build error redox os qemu system aarch64 not found
davidm@carouselYOW 2022-09-26_12:30:59_EDT : ~/tryredox/redox
$ time ARCH=aarch64 make kvm=no vga=no qemu
env --unset=RUSTUP_TOOLCHAIN cargo build --manifest-path cookbook/Cargo.toml --release
warning: associated function is never used: `new`
--> src/progress_bar.rs:33:12
|
33 | pub fn new(pb: &'p mut ProgressBar<P>, w: &'w mut W) -> ProgressBarWrite<'p, 'w, P, W> {
| ^^^
|
= note: `#[warn(dead_code)]` on by default
@omac777
omac777 / buildErrorAarch64RedoxOs1219hrs26Sept2022.txt
Created September 26, 2022 16:22
build error aarch64 redox OS AAVMF_CODE.fd no such file or directory
davidm@carouselYOW 2022-09-26_12:04:41_EDT : ~/tryredox/redox
$
davidm@carouselYOW 2022-09-26_12:04:55_EDT : ~/tryredox/redox
$ time ARCH=aarch64 make kvm=no vga=no qemu
env --unset=RUSTUP_TOOLCHAIN cargo build --manifest-path cookbook/Cargo.toml --release
warning: associated function is never used: `new`
--> src/progress_bar.rs:33:12
|
33 | pub fn new(pb: &'p mut ProgressBar<P>, w: &'w mut W) -> ProgressBarWrite<'p, 'w, P, W> {
| ^^^
@omac777
omac777 / gist:22ed321bc5276a833da4a5e9854b3b56
Created September 26, 2022 15:45
build error aarch redox os 26 Sept 2022
This file has been truncated, but you can view the full file.
davidm@carouselYOW 2022-09-26_11:24:46_EDT : ~/tryredox
$ time git clone git@gitlab.redox-os.org:redox-os/redox.git --origin upstream --recursive
Cloning into 'redox'...
remote: Enumerating objects: 12069, done.
remote: Counting objects: 100% (530/530), done.
remote: Compressing objects: 100% (224/224), done.
remote: Total 12069 (delta 343), reused 478 (delta 302), pack-reused 11539
Receiving objects: 100% (12069/12069), 7.43 MiB | 7.67 MiB/s, done.
Resolving deltas: 100% (7073/7073), done.
Submodule 'cookbook' (https://gitlab.redox-os.org/redox-os/cookbook.git) registered for path 'cookbook'