Commit Graph

34 Commits (3a4ad758f537bd4cc24163f76d2865179484541c)

Author SHA1 Message Date
Adrian Schmutzler 3a4ad758f5 sunxi: construct DTS name from device node name and SOC
The device part in the SUNXI_DTS variable always corresponds to
device node name. This is another redundancy that can be removed
by calculating the DTS name from a newly introduced SUNXI_SOC
variable and the node name.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
5 years ago
Adrian Schmutzler a4cdb537b1 sunxi: use vendor_device scheme for device definitions
This changes device definition to resemble the vendor_device scheme
already present for the majority of device compatible strings.

By doing this, we achieve several advantages at once:
- Image names and node names are more consistent with other targets.
- SUPPORTED_DEVICES can be set automatically for all but two cases.
- Image names and node names are in line with DEVICE_TITLEs.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
5 years ago
Hauke Mehrtens 24c2f5125e sunxi: Add A64 support with cortex53 subtarget
This adds initial support for the A64 Allwinner SoC to LEDE.
It will be build in the new cortexa53 subtarget.

Currently it only supports the pine64 and the image is able to boot on
this SoC.

Camera, Ethernet, HDMI and other parts are currently not working.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Hauke Mehrtens 41e7d2e2e8 sunxi: split into cortex A8 and A7 subtarget
Now we can activate some compiler optimizations for the cortex A7.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Felix Fietkau 9467ce42da build: get rid of host.mk
Defined required host related variables in toplevel.mk instead

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Jo-Philipp Wich cf3d1b61bf sunxi: put u-boot images into image staging directory
Do not put the u-boot images into the kernel build directory as this directory
might get removed after kernel updates while the u-boot packages InstallDev
recipe is not getting re-executed because it is still considered current,
leading to image build failures later on due to missing images.

To ensure that built bootloader images persist over kernel version updates in
the buildroot, put them into the new STAGING_DIR_IMAGE directory.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years ago
Felix Fietkau e018c4d7ab uboot-sunxi: clean up, switch to u-boot.mk
Instead of referencing u-boot packages from device profiles and having a
-all metapackage, make the u-boot packages hidden (they don't install to
bin/ anyway), and name the files in KERNEL_BUILD_DIR appropriately

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Yousong Zhou 0ac00c931c sunxi: use fwtool for checking sdcard images
To achieve this, device tree compatible string was used as boardname and
the value of it will be checked against supported_devices list.

It should be noted that we do not distinguish between
sun5i-a13-olimex-som and sun5i-a13-olinuxino as they share the same dts
file.

The other thing is that we need to gunzip the generated firmware to do
fwtool check.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years ago
Yousong Zhou 4eb0fd8283 sunxi: convert to new image generation method
The new Device/xxx were transformed automatically from old profiles.

Most device names are now taken from basename of the corresponding
kernel device tree file.  Device/sun5i-a13-olimex-som is an exception
because it is not explicitly supported in the kernel yet and shares the
same dts file with Device/sun5i-a13-olinuxino

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years ago
Yousong Zhou 76ee28ce9d sunxi: fix dts name for Mele M9
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years ago
Álvaro Fernández Rojas 87b2b89959 tools: remove old mkdosfs symlink from dosfstools
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Zoltan Herpai a9c21dd395 sunxi: add support for Orange Pi Plus (H3)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48618
8 years ago
Zoltan Herpai 1c66ebcd2d sunxi: respect CONFIG_TARGET_IMAGES_GZIP
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 46608
9 years ago
Zoltan Herpai 56533842ce sunxi: create KDIR_TMP, build boot.img in it
It's nice to have a distinction between files which are built during the
normal OpenWrt build process and ones that are created by the ImageBuilder
(like it already exists on some other targets).

This also gives boot.img a profile-specific prefix as it contains profile-
specific data.

KDIR_TMP does not need to be specified since include/image.mk already sets
it.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 46607
9 years ago
Zoltan Herpai 58fc927889 sunxi: fix uboot install location
Install uboot files to KERNEL_BUILD_DIR instead of BIN_DIR to fix
ImageBuilder. Similar fixes are necessary for many (all?) other uboot
targets.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 46605
9 years ago
Zoltan Herpai 1de658c27b sunxi: don't copy DTS files to BIN_DIR
The DTS files aren't useful (other targets don't copy them either) and
clutter BIN_DIR with files unrelated to the chosen profile.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 46604
9 years ago
Jo-Philipp Wich 43b5730c98 sunxi: use common image prefix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45788
9 years ago
Nicolas Thill 02aa882e60 sunxi: A20-OLinuXino-Lime profile rename leftover
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44423
9 years ago
Zoltan Herpai 7146957461 sunxi: add support for Lamobo R1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44214
10 years ago
Zoltan Herpai e8ecd9a511 sunxi: update Olimex A13 SOM profile
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 44040
10 years ago
Zoltan Herpai 1e0c22507a sunxi: bump kernel to 3.18 - refresh patches - add bananapro, cubietruck, mele_m9 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43900
10 years ago
Nicolas Thill ddb98cb70f sunxi: add support for Olimex A20-OLinuXino-LIME
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 43189
10 years ago
Zoltan Herpai fbbce1c8d8 sunxi: re-add rootfs build when no profile is set, fixes #17980, thanks.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42775
10 years ago
Zoltan Herpai fb985d741f sunxi: add sdcard image generation support when board profile is selected
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42534
10 years ago
John Crispin 7d8f187201 target/linux/*/image/Makefile: use new dts path variable
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41791
10 years ago
Zoltan Herpai 1bd75f114f sunxi: add support for Lemaker bananaPi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40898
10 years ago
Zoltan Herpai 186b5655d0 sunxi: add board support for LinkSprite pcDuino v3
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40606
10 years ago
Zoltan Herpai a7f0eb013a sunxi: sun6i-a31 changes - push remaining sun6i patches for 3.13 - enable Colombus A31 devboard (compile-tested only)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39487
11 years ago
Zoltan Herpai d8afb543d0 sunxi: fix image generation
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39276
11 years ago
Zoltan Herpai d0a757147b sunxi: various changes - rename hstimer DT on sun5i to avoid confusion - add Cubietruck support - select watchdog by default - select rtc in profiles where appropriate - cosmetic changes
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39263
11 years ago
Zoltan Herpai 1ae42098e9 sunxi: add support for Olinuxino A10 LIME
Signed-off-by: Zalan Blenessy <zalan.blenessy@gmail.com>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39222
11 years ago
Zoltan Herpai 51d5e458a3 sunxi: add support for pcDuino board
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39190
11 years ago
Zoltan Herpai f58bfd1df4 sunxi: rework target - update kernel to 3.12 - add patches for clocks, i2c, usb, sid, rtc - support common image for A10/A13/A20 - add support for a couple boards - most drivers are configured into the kernel as of now
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38811
11 years ago
Luka Perkov cb07269988 sunxi: add new target
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38651
11 years ago