AmadeusGhost 4af9b12df6 sunxi: orangepi-3: fixes wrong pcie patches
Commit f01b7cd introduced 2 gpios for the pcie part by mistake, one
of it is used for usb2phy, and the other is not connected anywhere.
Obviously, we cannot copy the dts of pine-h64 directly, which will
cause usb2 on this board to be unusable.

Note:
  From the datasheet provided by OrangePi open source, it seems that
  the perst part of pcie is controlled by the sw6 button. However,
  let us first guess a gpio to avoid any related error logs.

  By the way, it seems that the usb3 led (red), sw4 and sw6 buttons
  on this board are not controlled by gpio.

Fixes: f01b7cd ("sunxi: add support for OrangePi 3")
Signed-off-by: AmadeusGhost <amadeus@immortalwrt.org>
2021-07-27 12:03:08 +08:00
2021-06-26 16:49:16 +08:00
2021-07-26 12:09:26 +08:00
2021-02-16 14:19:09 +08:00
2021-07-14 14:53:12 +08:00
2019-08-16 15:09:42 +08:00
2021-02-06 12:07:10 +08:00
2021-02-06 12:07:10 +08:00
2021-07-14 14:53:12 +08:00
2021-02-16 14:19:09 +08:00
2021-06-15 23:45:52 +08:00
2021-07-14 14:53:12 +08:00

PROJECT IMMORTALWRT

The Core Source Code of ImmortalWrt

Welcome to our Telegram Group: @ctcgfw_openwrt_discuss.


How to make it

Minimum requirements

Linux with case sensitive
2G DDR2 RAM
2 CPU Cores (AMD64, 1.4Ghz)
25G disk space left
Has access to both ChinaNet & Internet

Install the necessary packages (for Ubuntu user)

sudo apt-get update -y
sudo apt-get full-upgrade -y
sudo apt-get install -y build-essential cmake asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libreadline-dev libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint ccache curl wget vim nano python2.7 python3 python3-pip python3-ply haveged lrzsz device-tree-compiler scons antlr3 gperf intltool mkisofs rsync

For mainland China & Ubuntu(16.04+) user, you may run the following command to setup quickly:

sudo bash -c "bash <(curl -s https://build-scripts.project-openwrt.eu.org/init_build_environment.sh)"

Clone the source

git clone -b openwrt-18.06-k5.4 --single-branch https://github.com/immortalwrt/immortalwrt && cd immortalwrt
./scripts/feeds update -a && ./scripts/feeds install -a

Configure your firmware

make menuconfig

Make it

make -j$(nproc) V=s

Tips

You'd better not use root to make it, or you may be not able to use.
Default login address: 192.168.1.1, username is root and password is password.

Contributed

See CONTRIBUTED.md.

License

GNU General Public License v3.0.

Description
An opensource OpenWrt variant for mainland China users.
Readme 891 MiB
Languages
C 61.6%
Makefile 18.9%
Shell 6.8%
Roff 6.6%
Perl 2.4%
Other 3.5%