Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Heads up: old Allwinner A20 kernels detached from build



Hi folks --

With the latest dts import, the SUNXI kernel build is now capable of supporting A10 and A20 based boards out of the box. As a result, I've detached the BPI, CUBIEBOARD, and CUBIETRUCK builds from the evbarm release build.

To upgrade an existing machine to the SUNXI kernel:

 1. Update U-Boot (available in pkgsrc for the boards mentioned above).

 2. Copy the SUNXI kernel (netbsd.ub) and the appropriate .dtb for your
    board to the MSDOS partition on your SD card. For the boards mentioned
    above:
      sun7i-a20-bananapi.dtb
      sun7i-a20-cubieboard2.dtb
      sun7i-a20-cubietruck.dtb
    These files can be found in the kernel build directory.

 3. At the U-Boot prompt:
    # setenv bootargs 'root=ld0a'
    # setenv kernel 'netbsd.ub'
    # setenv bootcmd 'fatload mmc 0:1 ${kernel_addr_r} ${kernel}; fatload mmc 0:1 ${fdt_addr_r} ${fdtfile}; fdt addr ${fdt_addr_r}; bootm ${kernel_addr_r} - ${fdt_addr_r}'

Have fun!

Cheers,
Jared


Home | Main Index | Thread Index | Old Index