Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mainline u-boot w/ sunxi-3.4 kernel

Featured Replies

Hi,

 

Anyone here ever tried to build a mainline uboot for sunxi-3.4 kernel.

 

As mentioned here v2015.10 support NAND spl.

https://linux-sunxi.org/Mainline_U-Boot#v2015.10

 

 

I'm in the first part of doing it, but unfortunately I'm always stuck with this error.

 

  OBJCOPY examples/standalone/hello_world.srec
  OBJCOPY examples/standalone/hello_world.bin
  LDS     u-boot.lds
  LD      u-boot
  DTC     arch/arm/dts/sun7i-a20-ainol-aw1.dtb
In file included from arch/arm/dts/sun7i-a20-ainol-aw1.dts:10:0:
arch/arm/dts/sun7i-a20.dtsi:47:54: fatal error: dt-bindings/interrupt-controller/arm-gic.h: No such file or directory
 #include <dt-bindings/interrupt-controller/arm-gic.h>
                                                      ^
compilation terminated.
make[2]: *** [arch/arm/dts/sun7i-a20-ainol-aw1.dtb] Error 1
make[1]: *** [arch-dtbs] Error 2
make: *** [dts/dt.dtb] Error 2
 

Maybe anyone here already try this, it can help a lot to speed-up the process.

 

Thanks

  • Author

Hi Tkaiser,

 

Thanks. This is a good start.

But right now what Im trying to create is based mainly from sunxi howto.

 

Regards.

  • Author

Hi Igor,

 

That solves the problem. Then another error occurs.

 

OBJCOPY examples/standalone/hello_world.srec
OBJCOPY examples/standalone/hello_world.bin
LDS u-boot.lds
LD u-boot

Device Tree Source is not correctly specified.
Please define 'CONFIG_DEFAULT_DEVICE_TREE'
or build with 'DEVICE_TREE=' argument

make[1]: *** [arch/arm/dts/sun7i-a20-cubieboard2.dtb] Error 1
make: *** [dts/dt.dtb] Error 2

 

I apologize for this newbie question.

 

Thanks.

  • Author

Hi Igor,

 

Yes, I did. Exact sequence below.

root@ubuntu1404-VirtualBox:/home/ubuntu1404/Desktop/LITE/u-boot# make clean
root@ubuntu1404-VirtualBox:/home/ubuntu1404/Desktop/LITE/u-boot# make mrproper
root@ubuntu1404-VirtualBox:/home/ubuntu1404/Desktop/LITE/u-boot# make CROSS_COMPILE=arm-linux-gnueabihf- Cubieboard2_defconfig
root@ubuntu1404-VirtualBox:/home/ubuntu1404/Desktop/LITE/u-boot# make CROSS_COMPILE=arm-linux-gnueabihf-

I attached the  log file.

 

Thanks.

 

complete_logs.txt

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.