01-Linux_Common_System_Customization
Linux System Login Credentials
Ubuntu Username/Password: kickpi/kickpi
GPIO Control
Sysfs GPIO Control
To configure expansion pins as inputs when the default gpio-led driver is insufficient:
Step 1: Comment the GPIO node in the device tree. Example for PH8:
vim device/config/chips/a133/configs/c3/kickpi-k5.dts
+ /*
PH8 {
label = "PH8";
gpios = <&pio PH 8 1 0 1 0>;
linux,default_trigger = "default-on";
default-state = "on";
};
+ */Step 2: Recompile and flash the firmware.
Step 3: Verify GPIO availability:
Step 4: Register and control GPIO via sysfs:
Sunxi GPIO Control
Ubuntu 1604 Customization
RootFS Modification via chroot
chrootPrepare Environment:
Backup & Extract RootFS:
Modify RootFS:
Repackage:
Troubleshooting:
Modify build/mkcmd.sh if encountering mkfs.ubifs errors:
Overlay Modification
Place files under overlay/ to overwrite rootfs during compilation:
Export/Repack RootFS
Export:
Repack:
Partition Modification
Default Partition Layout:
Modify Partition Table:
Mount UDISK:
NFS Configuration
Server:
Client:
SSH Configuration
Enable Root Login:
WiFi AP Setup
Install Tools:
Configure HostAPD:
Start Services:
VNC Setup
Install & Configure:
Modify xstartup:
Boot Mode Control
CLI-Only Boot:
Enable GUI:
USB-to-UART Support
Add Device ID:
Miscellaneous
Fix Firefox:
Unsupported xrandr Rotation:
A133 platform currently does not support display rotation via xrandr.
Last updated