sudo apt update && sudo apt upgrade -y
sudo apt install automake gobjc -y
FROM arm32v7/debian | |
RUN set -xe \ | |
&& apt-get update \ | |
&& apt-get install -y ant openjdk-8-jdk openjfx wget unzip \ | |
#&& export JAVA_HOME='/usr/lib/jvm/java-8-openjdk-armhf/' \ | |
&& wget https://github.com/hex007/freej2me/archive/master.zip \ | |
&& unzip master.zip | |
ENV JAVA_HOME="/usr/lib/jvm/java-8-openjdk-armhf/" |
for raspberrypi, the I/O speed should be the most important things
among those distros with rpi support, in this aspect the raspbian is best, alarm is close, alpine worst
quote from this issues: there are three sdcard drivers:
CONFIG_MMC_BCM2835 (upstream)
#!/bin/sh | |
#genetate alpine edge x86/x86_64 image: chmod +x gen-alpine.sh && sudo ./gen-alpine.sh | |
#depends: apk-tools-static, vim(xxd) | |
set -x | |
die() { | |
printf '\033[1;31mERROR:\033[0m %s\n' "$@" >&2 # bold red | |
exit 1 | |
} |
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
# don't put duplicate lines in the history. See bash(1) for more options | |
# ... or force ignoredups and ignorespace | |
HISTCONTROL=ignoredups:ignorespace |
# Maintainer: He Yangxuan <[email protected]> | |
pkgname=bootchart2 | |
pkgver=0.14.8 | |
pkgrel=0 | |
pkgdesc="Boot Process Performance Visualization" | |
arch="all" | |
url="https://github.com/xrmx/bootchart" | |
license="GPL" | |
depends="python2 py-gtk" |
setenv env_addr "0x10400000" | |
setenv kernel_addr "0x11000000" | |
setenv initrd_addr "0x13000000" | |
setenv dtb_mem_addr "0x1000000" | |
setenv boot_start booti ${kernel_addr} ${initrd_addr} ${dtb_mem_addr} | |
if fatload mmc 1 ${kernel_addr} zImage; then if fatload mmc 1 ${initrd_addr} uInitrd; then if fatload mmc 1 ${env_addr} uEnv.ini; then env import -t ${env_addr} ${filesize}; fi; if fatload mmc 1 ${dtb_mem_addr} ${dtb_name}; then run boot_start;fi;fi;fi; |