Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6c93319
Showing
20 changed files
with
882 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## hyphop ## - its alias for | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
## hyphop ## | ||
|
||
## uboot build config | ||
|
||
src=uboot-mizy | ||
uboot_path=$src | ||
|
||
add=uboot-files | ||
patches=uboot-patches | ||
|
||
dtc=../dtc | ||
conf=orangepi_zero_hyphop_mizy_defconfig | ||
|
||
tc_gcc=OpenWrt-Toolchain-imx6_gcc-5.3.0_musl-1.1.16_eabi.Linux-x86_64 | ||
tc_gcc_dir=toolchain-arm_cortex-a9+neon_gcc-5.3.0_musl-1.1.16_eabi | ||
tc_src=https://downloads.openwrt.org/snapshots/trunk/imx6/generic/$tc_gcc.tar.bz2 | ||
|
||
export ARCH=arm | ||
export CROSS_COMPILE=arm-openwrt-linux- | ||
export bdir=$PWD | ||
export STAGING_DIR=$PWD/../$tc_gcc_dir | ||
#export STAGING_DIR=$PWD/../toolchain-arm_cortex-a9+neon_gcc-5.3.0_musl-1.1.15_eabi | ||
|
||
export PATH=$STAGING_DIR/bin/:$PATH | ||
export PATH=$PWD/$dtc:$PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
==u-boot for miZy / OrangePi Zero board | ||
|
||
==Features | ||
|
||
* i2c - fixed & activated TWI0 (PA11 PA12) | ||
* ready to display splash screen on boot time for | ||
ssd1306 i2c OLED 128x64 display | ||
* script source - fixed/remove verify/check crc sum | ||
* spi flash boot - enabled | ||
* some small another fixes | ||
|
||
==Get Source Prepare and Build - need only 10-30 sec | ||
|
||
cd /tmp | ||
mkdir miZy | ||
cd miZy | ||
|
||
git clone | ||
|
||
cd uboot-hyphop-mizy | ||
|
||
./uboot_prepare | ||
./uboot_build | ||
|
||
==Output | ||
|
||
u-boot-sunxi-with-spl0-i2c-mizy.bin -> ./uboot-mizy/u-boot-sunxi-with-spl.bin | ||
451271 bytes | ||
|
||
==Deps and cross compilation | ||
|
||
toolchain-arm_cortex-a9+neon_gcc-5.3.0_musl-1.1.15_eabi | ||
... | ||
|
||
==miZy | ||
|
||
miZy - open source minimalistic tiny fast embedded Linux system | ||
for OrangePi Zero board MODs | ||
|
||
## hyphop ## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/sh | ||
|
||
## hyphop ## | ||
|
||
. ./,config | ||
|
||
git clone git://git.kernel.org/pub/scm/utils/dtc/dtc.git $dtc | ||
|
||
cd $dtc | ||
|
||
make -j 8 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
./uboot-mizy/u-boot-sunxi-with-spl.bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
CONFIG_ARM=y | ||
CONFIG_ARCH_SUNXI=y | ||
CONFIG_MACH_SUN8I_H3=y | ||
CONFIG_DRAM_CLK=408 | ||
CONFIG_DRAM_ZQ=3881979 | ||
CONFIG_DRAM_ODT_EN=y | ||
CONFIG_DEFAULT_DEVICE_TREE="sun8i-h2plus-orangepi-zero" | ||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set | ||
CONFIG_SPL=y | ||
# CONFIG_SPL_SPI_SUPPORT=y | ||
CONFIG_SPL_SPI_FLASH_SUPPORT=y | ||
CONFIG_SPL_SPI_SUNXI=y | ||
# CONFIG_CMD_IMLS is not set | ||
# CONFIG_CMD_FLASH is not set | ||
# CONFIG_CMD_FPGA is not set | ||
CONFIG_SUN8I_EMAC=y | ||
CONFIG_USB_EHCI_HCD=y | ||
CONFIG_SYS_CLK_FREQ=480000000 | ||
|
||
CONFIG_I2C0_ENABLE=y | ||
CONFIG_LOCALVERSION="-hyphop miZy" | ||
CONFIG_CMD_I2C=y | ||
CONFIG_BOOTDELAY=1 | ||
|
||
CONFIG_VIDEO_LCD_PANEL_I2C=y | ||
CONFIG_VIDEO_LCD_PANEL_I2C_SDA="PA12" | ||
CONFIG_VIDEO_LCD_PANEL_I2C_SCL="PA11" | ||
|
||
CONFIG_VIDEO=y | ||
CONFIG_VIDEO_LCD_MODE="" | ||
CONFIG_VIDEO_LCD_DCLK_PHASE=1 | ||
CONFIG_VIDEO_LCD_POWER="" | ||
CONFIG_VIDEO_LCD_RESET="" | ||
CONFIG_VIDEO_LCD_BL_EN="" | ||
CONFIG_VIDEO_LCD_BL_PWM="" | ||
CONFIG_VIDEO_LCD_IF_PARALLEL=y | ||
CONFIG_VIDEO_LCD_PANEL_PARALLEL=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,170 @@ | ||
CONFIG_SYS_MALLOC_F_LEN=0x2000 | ||
CONFIG_DEFAULT_DEVICE_TREE="sandbox" | ||
CONFIG_DISTRO_DEFAULTS=y | ||
CONFIG_FIT=y | ||
CONFIG_FIT_VERBOSE=y | ||
CONFIG_FIT_SIGNATURE=y | ||
CONFIG_SPL_LOAD_FIT=y | ||
CONFIG_BOOTSTAGE=y | ||
CONFIG_BOOTSTAGE_REPORT=y | ||
CONFIG_BOOTSTAGE_USER_COUNT=0x20 | ||
CONFIG_BOOTSTAGE_FDT=y | ||
CONFIG_BOOTSTAGE_STASH=y | ||
CONFIG_BOOTSTAGE_STASH_ADDR=0x0 | ||
CONFIG_BOOTSTAGE_STASH_SIZE=0x4096 | ||
CONFIG_CONSOLE_RECORD=y | ||
CONFIG_CONSOLE_RECORD_OUT_SIZE=0x1000 | ||
CONFIG_SILENT_CONSOLE=y | ||
CONFIG_CMD_CPU=y | ||
CONFIG_CMD_LICENSE=y | ||
CONFIG_CMD_BOOTZ=y | ||
# CONFIG_CMD_ELF is not set | ||
# CONFIG_CMD_IMLS is not set | ||
CONFIG_CMD_ASKENV=y | ||
CONFIG_CMD_GREPENV=y | ||
CONFIG_LOOPW=y | ||
CONFIG_CMD_MEMTEST=y | ||
CONFIG_CMD_MX_CYCLIC=y | ||
CONFIG_CMD_MEMINFO=y | ||
CONFIG_CMD_DEMO=y | ||
CONFIG_CMD_SF=y | ||
CONFIG_CMD_SPI=y | ||
CONFIG_CMD_I2C=y | ||
CONFIG_CMD_USB=y | ||
CONFIG_CMD_REMOTEPROC=y | ||
CONFIG_CMD_GPIO=y | ||
CONFIG_CMD_TFTPPUT=y | ||
CONFIG_CMD_TFTPSRV=y | ||
CONFIG_CMD_RARP=y | ||
CONFIG_CMD_CDP=y | ||
CONFIG_CMD_SNTP=y | ||
CONFIG_CMD_DNS=y | ||
CONFIG_CMD_LINK_LOCAL=y | ||
CONFIG_CMD_TIME=y | ||
CONFIG_CMD_TIMER=y | ||
CONFIG_CMD_SOUND=y | ||
CONFIG_CMD_QFW=y | ||
CONFIG_CMD_BOOTSTAGE=y | ||
CONFIG_CMD_PMIC=y | ||
CONFIG_CMD_REGULATOR=y | ||
CONFIG_CMD_TPM=y | ||
CONFIG_CMD_TPM_TEST=y | ||
CONFIG_CMD_EXT4_WRITE=y | ||
CONFIG_OF_CONTROL=y | ||
CONFIG_OF_HOSTFILE=y | ||
CONFIG_NETCONSOLE=y | ||
CONFIG_REGMAP=y | ||
CONFIG_SPL_REGMAP=y | ||
CONFIG_SYSCON=y | ||
CONFIG_SPL_SYSCON=y | ||
CONFIG_DEVRES=y | ||
CONFIG_DEBUG_DEVRES=y | ||
CONFIG_ADC=y | ||
CONFIG_ADC_SANDBOX=y | ||
CONFIG_CLK=y | ||
CONFIG_CPU=y | ||
CONFIG_DM_DEMO=y | ||
CONFIG_DM_DEMO_SIMPLE=y | ||
CONFIG_DM_DEMO_SHAPE=y | ||
CONFIG_PM8916_GPIO=y | ||
CONFIG_SANDBOX_GPIO=y | ||
CONFIG_DM_I2C_COMPAT=y | ||
CONFIG_I2C_CROS_EC_TUNNEL=y | ||
CONFIG_I2C_CROS_EC_LDO=y | ||
CONFIG_DM_I2C_GPIO=y | ||
CONFIG_SYS_I2C_SANDBOX=y | ||
CONFIG_I2C_MUX=y | ||
CONFIG_SPL_I2C_MUX=y | ||
CONFIG_I2C_ARB_GPIO_CHALLENGE=y | ||
CONFIG_CROS_EC_KEYB=y | ||
CONFIG_I8042_KEYB=y | ||
CONFIG_LED=y | ||
CONFIG_LED_GPIO=y | ||
CONFIG_DM_MAILBOX=y | ||
CONFIG_SANDBOX_MBOX=y | ||
CONFIG_MISC=y | ||
CONFIG_CROS_EC=y | ||
CONFIG_CROS_EC_I2C=y | ||
CONFIG_CROS_EC_LPC=y | ||
CONFIG_CROS_EC_SANDBOX=y | ||
CONFIG_CROS_EC_SPI=y | ||
CONFIG_PWRSEQ=y | ||
CONFIG_SPL_PWRSEQ=y | ||
CONFIG_I2C_EEPROM=y | ||
CONFIG_SANDBOX_MMC=y | ||
CONFIG_SPI_FLASH_SANDBOX=y | ||
CONFIG_SPI_FLASH=y | ||
CONFIG_SPI_FLASH_ATMEL=y | ||
CONFIG_SPI_FLASH_EON=y | ||
CONFIG_SPI_FLASH_GIGADEVICE=y | ||
CONFIG_SPI_FLASH_MACRONIX=y | ||
CONFIG_SPI_FLASH_SPANSION=y | ||
CONFIG_SPI_FLASH_STMICRO=y | ||
CONFIG_SPI_FLASH_SST=y | ||
CONFIG_SPI_FLASH_WINBOND=y | ||
CONFIG_DM_ETH=y | ||
CONFIG_PCI=y | ||
CONFIG_DM_PCI=y | ||
CONFIG_DM_PCI_COMPAT=y | ||
CONFIG_PCI_SANDBOX=y | ||
CONFIG_PINCTRL=y | ||
CONFIG_PINCONF=y | ||
CONFIG_ROCKCHIP_RK3036_PINCTRL=y | ||
CONFIG_ROCKCHIP_RK3288_PINCTRL=y | ||
CONFIG_PINCTRL_SANDBOX=y | ||
CONFIG_POWER_DOMAIN=y | ||
CONFIG_SANDBOX_POWER_DOMAIN=y | ||
CONFIG_DM_PMIC=y | ||
CONFIG_PMIC_ACT8846=y | ||
CONFIG_DM_PMIC_PFUZE100=y | ||
CONFIG_DM_PMIC_MAX77686=y | ||
CONFIG_PMIC_PM8916=y | ||
CONFIG_PMIC_RK808=y | ||
CONFIG_PMIC_S2MPS11=y | ||
CONFIG_DM_PMIC_SANDBOX=y | ||
CONFIG_PMIC_S5M8767=y | ||
CONFIG_PMIC_TPS65090=y | ||
CONFIG_DM_REGULATOR=y | ||
CONFIG_REGULATOR_ACT8846=y | ||
CONFIG_DM_REGULATOR_PFUZE100=y | ||
CONFIG_DM_REGULATOR_MAX77686=y | ||
CONFIG_DM_REGULATOR_FIXED=y | ||
CONFIG_REGULATOR_RK808=y | ||
CONFIG_REGULATOR_S5M8767=y | ||
CONFIG_DM_REGULATOR_SANDBOX=y | ||
CONFIG_REGULATOR_TPS65090=y | ||
CONFIG_RAM=y | ||
CONFIG_REMOTEPROC_SANDBOX=y | ||
CONFIG_DM_RESET=y | ||
CONFIG_SANDBOX_RESET=y | ||
CONFIG_DM_RTC=y | ||
CONFIG_SANDBOX_SERIAL=y | ||
CONFIG_SOUND=y | ||
CONFIG_SOUND_SANDBOX=y | ||
CONFIG_SANDBOX_SPI=y | ||
CONFIG_SPMI=y | ||
CONFIG_SPMI_SANDBOX=y | ||
CONFIG_SYSRESET=y | ||
CONFIG_TIMER=y | ||
CONFIG_TIMER_EARLY=y | ||
CONFIG_SANDBOX_TIMER=y | ||
CONFIG_TPM_TIS_SANDBOX=y | ||
CONFIG_USB=y | ||
CONFIG_DM_USB=y | ||
CONFIG_USB_EMUL=y | ||
CONFIG_USB_STORAGE=y | ||
CONFIG_USB_KEYBOARD=y | ||
CONFIG_SYS_USB_EVENT_POLL=y | ||
CONFIG_DM_VIDEO=y | ||
CONFIG_CONSOLE_ROTATION=y | ||
CONFIG_CONSOLE_TRUETYPE=y | ||
CONFIG_CONSOLE_TRUETYPE_CANTORAONE=y | ||
CONFIG_VIDEO_SANDBOX_SDL=y | ||
CONFIG_CMD_DHRYSTONE=y | ||
CONFIG_TPM=y | ||
CONFIG_LZ4=y | ||
CONFIG_ERRNO_STR=y | ||
CONFIG_UNIT_TEST=y | ||
CONFIG_UT_TIME=y | ||
CONFIG_UT_DM=y | ||
CONFIG_UT_ENV=y |
Oops, something went wrong.