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.

U-boot Orange Pi Zero

Featured Replies

Hi,

 

I try to play with Armbian Stretch mainline kernel 4.14.y on Orange Pi Zero and need for my idea sf funktion (SPI) and i2c in u-boot terminal.
I've build mainline U-Boot but the files in /boot directory from armbian looks so "strange". There is any description how to replace the files or make changes.

 

Thanks for help.

P.S.  Have a lot of experience with uC programming, less with Linux.

Which patches are you using to enable sf command for SPI?  The mainline Allwinner A10 SPI driver does not work with sun8i.  The only driver I've found to work is this older fork.

fork: https://github.com/StephanvanSchaik/u-boot/tree/sunxi-spi

info: https://linux-sunxi.org/Bootable_SPI_flash#SPI_driver

 

2 hours ago, andy_n said:

/boot directory from armbian looks so "strange".

It's been awhile since I've used an official armbian image.  IIRC besides kernel related files, it's just overlays, bootscripts, and dtbs.  Also, a couple of armbian related files that need to be kept if you want the armbian OS scripts to work (armbian-config, etc).

  • Author

Thanks for answer.

 

I wanted to change defconfig, make u-boot and replace the files but i didn't find any description of armbian u-boot.  

If I understand it right: I can switch SPI or I2C for boot terminal only with new compiling.

I do not want to boot form SPI or I2C only read external memory and change GPIO before booting. 

 

 

 

  • Author

I did it.
It is not difficult in Linux. Finding the guide (for beginners) is difficult.
SPI (sf) is not working (till now).

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.