pmaports/device/testing/device-goclever-gcta741l/u-boot-script.cmd
JuniorJPDJ a39240bce7
goclever-gcta741l: new device (MR 2040)
still missing:
* audio
* lcd backlight control
* touchscreen driver
* front camera
* accelerometer mount fix (driver seem not to support mount-matrix)
* 3D acceleration
* HDMI support
2021-03-27 17:48:08 +00:00

21 lines
679 B
Batchfile

setenv kernel-flavor postmarketos-allwinner
setenv bootargs init=/init.sh rw console=tty1 panic=10 consoleblank=0 loglevel=1 PMOS_FORCE_PARTITION_RESIZE pmos_boot=/dev/mmcblk0p1 pmos_root=/dev/mmcblk0p2
echo Loading DTB: dtbs-${kernel-flavor}/${fdtfile}
load mmc 0:1 ${fdt_addr_r} dtbs-${kernel-flavor}/${fdtfile}
echo Resizing FDT
fdt addr ${fdt_addr_r}
fdt resize
echo Loading Kernel: vmlinuz-${kernel-flavor}
load mmc 0:1 ${kernel_addr_r} vmlinuz-${kernel-flavor}
echo Loading Initramfs: initramfs-${kernel-flavor}
load mmc 0:1 ${ramdisk_addr_r} initramfs-${kernel-flavor}
echo Booting kernel
bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r}
sleep 10