You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/scripts
Sven Eckelmann 0b20490207 ipq40xx: add support for OpenMesh A62
* QCA IPQ4019
* 256 MB of RAM
* 32 MB of SPI NOR flash (s25fl256s1)
  - 2x 15 MB available; but one of the 15 MB regions is the recovery image
* 2T2R 2.4 GHz
  - QCA4019 hw1.0 (SoC)
  - requires special BDF in QCA4019/hw1.0/board-2.bin with
    bus=ahb,bmi-chip-id=0,bmi-board-id=20,variant=OM-A62
* 2T2R 5 GHz (channel 36-64)
  - QCA9888 hw2.0 (PCI)
  - requires special BDF in QCA9888/hw2.0/board-2.bin
    bus=pci,bmi-chip-id=0,bmi-board-id=16,variant=OM-A62
* 2T2R 5 GHz (channel 100-165)
  - QCA4019 hw1.0 (SoC)
  - requires special BDF in QCA4019/hw1.0/board-2.bin with
    bus=ahb,bmi-chip-id=0,bmi-board-id=21,variant=OM-A62
* multi-color LED (controlled via red/green/blue GPIOs)
* 1x button (reset; kmod-input-gpio-keys compatible)
* external watchdog
  - triggered GPIO
* 1x USB (xHCI)
* TTL pins are on board (arrow points to VCC, then follows: GND, TX, RX)
* 2x gigabit ethernet
  - phy@mdio3:
    + Label: Ethernet 1
    + gmac0 (ethaddr) in original firmware
    + 802.3at POE+
  - phy@mdio4:
    + Label: Ethernet 2
    + gmac1 (eth1addr) in original firmware
    + 18-24V passive POE (mode B)
* powered only via POE

The tool ap51-flash (https://github.com/ap51-flash/ap51-flash) should be
used to transfer the factory image to the u-boot when the device boots up.

The initramfs image can be started using

  setenv bootargs 'loglevel=8 earlycon=msm_serial_dm,0x78af000 console=ttyMSM0,115200 mtdparts=spi0.0:256k(0:SBL1),128k(0:MIBIB),384k(0:QSEE),64k(0:CDT),64k(0:DDRPARAMS),64k(0:APPSBLENV),512k(0:APPSBL),64k(0:ART),64k(0:custom),64k(0:KEYS),15552k(inactive),15552k(inactive2)'
  tftpboot 0x84000000 openwrt-ipq40xx-openmesh_a62-initramfs-fit-uImage.itb
  set fdt_high 0x85000000
  bootm 0x84000000

Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
6 years ago
..
config build: cleanup leftover qconf files 6 years ago
flashing scripts: add EVA ramboot script 6 years ago
arm-magic.sh scripts/arm-magic.sh: make the generated kernels also include $IMG_PREFIX 9 years ago
brcmImage.pl merge: targets: update image generation and targets 7 years ago
bundle-libraries.sh build: bundle-libraries.sh: patch bundled ld.so 6 years ago
checkpatch.pl merge: base: update base-files and basic config 7 years ago
clang-gcc-wrapper build: fix build on Mac OS X 10.9 11 years ago
clean-package.sh build: clean up stale files from a previous build when installing a package build to the staging dir 11 years ago
cleanfile build: remove absolute path to perl and replace with /usr/bin/env perl 7 years ago
cleanpatch build: remove absolute path to perl and replace with /usr/bin/env perl 7 years ago
combined-ext-image.sh combined-ext-image.sh: generate image in temp dir 6 years ago
combined-image.sh scripts: make all scripts executable 7 years ago
config.guess update config.guess & config.sub 9 years ago
config.rpath add config.rpath and link it in autotools.mk if missing, some packages might need it, especially users of lib-link.m4 or iconv.m4 13 years ago
config.sub update config.guess & config.sub 9 years ago
deptest.sh scripts: avoid hard-coded paths in scripts 8 years ago
diffconfig.sh scripts/diffconfig.sh: fix output if TARGET_PER_DEVICE_ROOTFS is set 8 years ago
dl_cleanup.py dl_cleanup: Fix linux blacklist 9 years ago
download.pl base-files: allow skipping of hash verification 7 years ago
env env: allow passing a commit message on save 9 years ago
ext-toolchain.sh scripts: Probe external toolchains for libthread-db 7 years ago
feeds scripts/feeds: fix install of packages with different source/binary names 6 years ago
fixup-makefile.pl build: add FIXUP option for make check 8 years ago
gen-dependencies.sh gen-dependencies.sh: fix handling variations in "file" output 7 years ago
gen_image_generic.sh scripts/gen_image_generic.sh: drop NOGRUB variable 7 years ago
get_source_date_epoch.sh scripts: get_source_date_epoch.sh: fix mercurial support, add mtime fallback 7 years ago
getver.sh scripts/getver.sh: append short git hash based on upstream commit 7 years ago
ipkg-build scripts: ipkg-build: do not require git or svn 8 years ago
ipkg-make-index.sh build: use mkhash to replace various quirky md5sum/openssl calls 7 years ago
kconfig.pl treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
make-ipkg-dir.sh branding: add LEDE branding 8 years ago
md5sum improve support for building on mac os x by improving detection of missing components 16 years ago
metadata.pm scripts/metadata.pm: allow group-only Require-User specs 6 years ago
mkhash.c build: add a small standalone utility for calculating md5/sha256 hash 7 years ago
mkits.sh build: Allow to change the FIT config section name 6 years ago
om-fwupgradecfg-gen.sh ipq40xx: add support for OpenMesh A62 6 years ago
package-metadata.pl metadata: do not emit broken kconfig dependency statements 6 years ago
pad_image scripts: avoid hard-coded paths in scripts 8 years ago
patch-kernel.sh scripts/patch-kernel.sh: remove -E flag to preserve empty files touched by patches 9 years ago
patch-specs.sh patch-specs.sh: gcc 3.4.6 has an additional "(OpenWrt-2.0)" after the version tag, cope with that 12 years ago
portable_date.sh scripts: fix GNU data invocation 8 years ago
qemustart scripts/qemustart: more portable array operation 6 years ago
redboot-script.pl scripts: avoid hard-coded paths in scripts 8 years ago
relink-lib.sh base-files: relink uclibc and libgcc libraries to remove leftovers of the statically linked initial libgcc saves a few kb and gets rid of unused not exported functions as well should also improve the reliability of mklibs 13 years ago
remote-gdb build: remove libc version suffix from build/staging directories 7 years ago
rstrip.sh rstrip.sh: fix handling variations in "file" output 7 years ago
slugimage.pl use #!/usr/bin/env perl instead of #!/usr/bin/perl in openwrt scripts (fixes #2998) 16 years ago
srecimage.pl treewide: replace jow@openwrt.org with jo@mein.io 8 years ago
strip-kmod.sh scripts/strip-kmod.sh: remove a few extra sections to slightly reduce kernel module size 8 years ago
symlink-tree.sh docs: remove all refrences in Makefiles/scripts 8 years ago
sysupgrade-tar.sh build: rename sysupgrade-nand to sysupgrade-tar 8 years ago
target-metadata.pl scripts: only generate config from feature flag if fully match 7 years ago
timestamp.pl fix timestamp checks for build system paths which have '.svn' in their directory name 14 years ago
ubinize-image.sh scripts/ubinize-image.sh: add support for adding custom partitions 8 years ago