Skip to content
advanced u-boot (for sunxi Orange Pi Zero | Zero Plus2 h3 | R1, and another sunxi boards ), ready for full load linux from spi-flash, i2c display, FEL mode, and many other improvement
Objective-C C Shell Perl
Branch: master
Clone or download
hyphop
Latest commit 2cedab8 Apr 29, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Wed Mar 29 09:37:58 ICT 2017 Mar 29, 2017
pics texts fix Mar 26, 2017
tools sync May 26, 2018
uboot-files Sat May 6 14:54:21 ICT 2017 May 6, 2017
uboot-patches Tue Apr 30 00:54:10 +07 2019 Apr 29, 2019
## hyphop ## change to new version Mar 26, 2017
,config Sun Apr 2 10:36:29 ICT 2017 Apr 2, 2017
.gitignore sync May 26, 2018
.mizy_logo_addr fix build symlinks Mar 26, 2017
.travis.yml travis_fix May 13, 2018
LICENSE Wed Mar 29 08:58:40 ICT 2017 Mar 29, 2017
README.md Tue Apr 30 01:20:53 +07 2019 Apr 29, 2019
dtc_prepare_make Thu May 10 15:38:21 +07 2018 May 10, 2018
find_changes Mon Mar 27 15:59:35 ICT 2017 Mar 27, 2017
make_it_easy Sat Apr 15 14:55:31 ICT 2017 Apr 15, 2017
mount_overlay_squash Thu May 10 15:39:42 +07 2018 May 10, 2018
syncit Mon May 28 01:24:32 +07 2018 May 27, 2018
syncit.conf sync May 26, 2018
u-boot-sunxi-with-spl-i2c-mizy.bin first commit Feb 8, 2017
u-boot-sunxi-with-spl.bin Mon Mar 27 12:59:18 ICT 2017 Mar 27, 2017
uboot-mizy.bin Mon Mar 27 12:59:18 ICT 2017 Mar 27, 2017
uboot-origin.squashfs Mon Mar 27 12:59:18 ICT 2017 Mar 27, 2017
uboot.tar.xz change to new version Mar 26, 2017
uboot_build Sun Apr 2 10:36:29 ICT 2017 Apr 2, 2017
uboot_clean_src Mon Mar 27 12:59:18 ICT 2017 Mar 27, 2017
uboot_clear_all Sun Apr 2 10:36:29 ICT 2017 Apr 2, 2017
uboot_config first commit Feb 8, 2017
uboot_defconfig Mon Mar 27 12:59:18 ICT 2017 Mar 27, 2017
uboot_make Sat Apr 15 14:58:47 ICT 2017 Apr 15, 2017
uboot_prepare Sun Apr 2 10:36:29 ICT 2017 Apr 2, 2017
umount_overlay Wed Mar 29 08:58:40 ICT 2017 Mar 29, 2017

README.md

miZy-uboot

Build Status

Advanced u-boot (for sunxi Orange Pi Zero, another sunxi boards maybe work too ), ready for full load linux from spi-flash, i2c display, FEL mode, and many other improvement

Its just a part of miZy project, and same as other our parts can standalone used

SOCs / Boards

  • friendly arm NanoPi NEO - TESTED OK
  • MX3 h3 - TESTED OK ( boot from MMC, NAND in progress )
  • M16 LITE H3 - WAIT
  • Orange Pi ZeroZero h2+ - TESTED OK
  • Orange Pi Zero Plus2 h3 - TESTED OK
  • Orange Pi Zero R1 - TESTED OK
  • Orange Pi One - TESTED OK
  • Orange Pi PC - TESTED OK
  • Orange Pi PC+ - NOT TESTED
  • Orange Pi Plus2E - NOT TESTED
  • Orange Pi Lite - NOT TESTED

Features ( 04/30/2019 )

  • boot from h2+ h3 sunxi boards
  • boot from spi-flash and next full load linux from spi-flash is ready via new added spiread cmd
  • ready for fast uboot & full linux load, with boot-time about 0.5 & 4-8 sec (MMC-SPI), from power-on time
  • 4x increase SPI-flash reading speed in SPL-loader and UBOOT ( spi work on 24Mhz freq now )
  • improved i2c available for any gpios (configurable soft mode) not only for TWI0 (PA11 PA12) or TWI0 (PA18 PA19)
  • splash screen on ssd1306 i2c OLED 128x64 display TWI0 or TWI1 connected
  • ready for uboot splash screen customization
  • can fix (set or disable) FEL mode direct from uboot shell (write or clear FEL-loader on mmc)
  • support any LZMA LZO GZIP uboot packed images, and directly from uboot shell cmds
  • accept uboot images with bad crc
  • fast advanced configuration for build-in uboot environment, without recompilation
  • ready for next USB loading from any 3 usb ports
  • new improved building system full automated, speed + size optimized
  • easy write new patches with find_changes script
  • led indication and splash for boot process
  • many other small fixes
  • boot from NAND in progress ( 04/30/2019 ) for MX3

SPI NOTE

by default device can not have SPI flash or have only 2M bytes (mx25l1606e its enough for uboot only), needed re/install SPI flash to 4M or 8M or 16M bytes if u need full load linux from spi-flash. For example we have tested on W25q128 spi flash, and this worked well!

Get Source, Prepare, Build & Clear - need only 10-30 sec for build uboot

cd /tmp
mkdir zero_builder
cd  zero_builder

git clone https://github.com/hyphop/miZy-uboot
cd miZy-uboot

./uboot_prepare
./uboot_build

!note: if have permissions problems with modprobe|mount overlay try sudo bash before ./uboot_prepare ...

if everything is ok, compilled uboot must be there ./uboot-mizy.bin, and ready for usage! now we can clear building data.

./uboot_clear_all

Easy make - by one-line command

wget http://raw.githubusercontent.com/hyphop/miZy-uboot/master/make_it_easy -O- | sh -

Output

  • u-boot-sunxi-with-spl.bin -> ./uboot-mizy/u-boot-sunxi-with-spl.bin
  • uboot-mizy.bin -> ../bin/uboot/uboot-mizy.bin

Deps and cross compilation

  • dtc v1.4.3 (flex + bison)
  • toolchain-arm_cortex-a9+neon_gcc-5.3.0_musl-1.1.15_eabi

its easy and automated by scripts!

binary downloads

miZy

miZy - open source minimalistic tiny fast embedded Linux system, (for sunxi Orange Pi Zero, another sunxi boards maybe work too )

NOTES

some source code parts in low quality ( sorry but I'm new to uboot ), some parts not annotated not documented, we stay in active develop now! wellcome to join us improve & tidy this code.

LINKS

;)

miZy

You can’t perform that action at this time.