9b88689b9d
UART and SSH work and HDMI works in u-boot (just like the pine-a64lts). It should work now with display and xorg/weston works directly after installing. Plasma mobile doesn't work directly because both kms and fbdev are enabled and kms doesn't work yet. linux-postmarketos-allwinner: update to 5.0.0-rc3 with patches for this devkit, tested on this device and on pinea64lts (the only other device using the allwinner kernel). [ci:skip-build]: won't finish in time
19 lines
603 B
Batchfile
19 lines
603 B
Batchfile
setenv bootargs init=/init.sh rw console=tty0 console=ttyS0,115200 no_console_suspend earlycon=uart,mmio32,0x01c28000 panic=10 consoleblank=0 loglevel=1 PMOS_NO_OUTPUT_REDIRECT
|
|
|
|
printenv
|
|
|
|
echo Loading DTB
|
|
load mmc ${mmc_bootdev}:1 ${fdt_addr_r} dtb-postmarketos-allwinner.dtb
|
|
|
|
echo Loading Initramfs
|
|
load mmc ${mmc_bootdev}:1 ${ramdisk_addr_r} uInitrd-postmarketos-allwinner
|
|
|
|
echo Loading Kernel
|
|
load mmc ${mmc_bootdev}:1 ${kernel_addr_r} vmlinuz-postmarketos-allwinner-dtb
|
|
|
|
echo Resizing FDT
|
|
fdt addr ${fdt_addr_r}
|
|
fdt resize
|
|
|
|
echo Booting kernel
|
|
booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
|