Skip to content
Permalink
Browse files

Wed Mar 29 08:58:40 ICT 2017

  • Loading branch information...
hyphop committed Mar 29, 2017
1 parent a7dcffb commit 8e874df64dd798a634fcf3e4e657ed33b168650e
Showing with 9 additions and 4 deletions.
  1. +1 −1 LICENSE
  2. +3 −1 README.md
  3. +1 −1 mount_overlay_squash
  4. +2 −0 uboot_prepare
  5. +2 −1 umount_overlay
@@ -1,6 +1,6 @@
## ATTENTION

## hyphop ## - this mark is just contraction and equivalent for this document,
## hyphop ## this mark is just contraction and equivalent for this document,
and they must stay in same place, without any changes, everywhere
in source code and another places!

@@ -13,7 +13,7 @@ Its just a part of miZy project, and same as other our parts can standalone used
* **splash screen** on **ssd1306** i2c OLED 128x64 display TWI0 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 direct as uboot shell cmd
* 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
@@ -40,6 +40,8 @@ we have tested on W25q128 spi flash, and this worked well!
./uboot_prepare
./uboot_build

echo START; mkdir /tmp/zero_builder; cd /tmp/zero_builder; date ; git clone https://github.com/hyphop/miZy-uboot; cd miZy-uboot; ./uboot_prepare; ./uboot_build; date; echo "END"

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

@@ -12,7 +12,7 @@ grep squashfs /proc/filesystems 1>/dev/null || {

ovlmod=overlayfs

grep overlayfs /proc/filesystems 1>/dev/null || modprobe overlayfs
grep overlayfs /proc/filesystems 1>/dev/null || modprobe overlayfs 2>/dev/null
grep overlayfs /proc/filesystems 1>/dev/null || {
echo "[w] not have overlayfs"
ovlmod=""
@@ -8,6 +8,7 @@
[ -d ../bin/uboot ] || mkdir -p ../bin/uboot
[ -d ,tmp ] || mkdir -p ,tmp


[ -s $src/Makefile ] || {
# prefer squashfs source
[ -s $squash_src ] || {
@@ -76,3 +77,4 @@ cp -a ../$add/* .
cd ..

./uboot_defconfig

@@ -7,6 +7,7 @@
p=.
ro_level=$p/$src.ro

umount $src || exit 1
umount $src
#|| exit 1
umount $ro_level || exit 1

0 comments on commit 8e874df

Please sign in to comment.
You can’t perform that action at this time.