- May 14, 2017
-
-
Alberto Bursi authored
delete useless or unusable default led triggers from dts file. Signed-off-by:
Alberto Bursi <alberto.bursi@outlook.it>
-
- Feb 28, 2017
-
-
Alberto Bursi authored
the mtd_get_mac_ascii function called within this script requires the inclusion of /lib/functions/system.sh Signed-off-by:
Alberto Bursi <alberto.bursi@outlook.it>
-
- Feb 11, 2017
-
-
Alberto Bursi authored
This patch add ZyXEL NSA325 2-Bay Media Server The ZyXEL NSA325 device is a Kirkwood based NAS: - SoC: Marvell 88F6702 1600Mhz - SDRAM memory: 512MB DDR2 400Mhz - Gigabit ethernet: Marvell Alaska - Flash memory: 128MB - 1 Power button - 1 Power LED (blue) - 5 Status LED (green/red) - 1 Copy/Sync button - 1 Reset button - 2 SATA II ports (internal) - 2 USB 2.0 ports (back) - 1 USB 3.0 port (front) - Fan (fixed speed) - hardware watchdog in a mcu Basically a bigger, more powerful version of NSA310, installation is the same as they share the same flash layout. A notable difference is that there is a hardware watchdog in a mcu on the board, which is disabled by default in the LEDE u-boot. The watchdog is also disabled with a GPIO activation through raw register change when kwbooting or it would reset the board before the new uboot was transferred. Signed-off-by:
Alberto Bursi <alberto.bursi@outlook.it> Signed-off-by: Felix Fietkau <nbd@nbd.name> [remove dead code]
-
Alberto Bursi authored
switch nsa310b mac address reading to mtd_get_mac_ascii helper as it seems the fw_env.config file is created way later than when network is set up, when I tested I still had that file included in the image through /files folder. Signed-off-by:
Alberto Bursi <alberto.bursi@outlook.it>
-
- Jan 24, 2017
-
-
Alberto Bursi authored
The ZyXEL NSA310 device is a Kirkwood based NAS: - SoC: Marvell 88F6702 1200Mhz - SDRAM memory: 256MB DDR2 400Mhz - Gigabit ethernet: Realtek (over pcie) - Flash memory: 128MB - 1 Power button - 1 Power LED (blue) - 5 Status LED (green/red) - 1 Copy/Sync button - 1 Reset button - 2 SATA II port (1 internal and 1 external) - 2 USB 2.0 ports (1 front and 1 back) - Smart fan The stock u-boot cannot read ubi so it should be replaced with the LEDE/OpenWRT's u-boot or with a u-boot from here https://github.com/mibodhi/u-boot-kirkwood This device's boot ROM supports "kwboot" tool (in mainline u-boot, built automatically if CONFIG_KIRKWOOD is declared) that sends an uboot image to the board over serial connection, it is very easy to unbrick. The stock bootloader can use usb and read from FAT filesystems, so the installation process is simple, place the uboot file on a USB flashdrive formatted as FAT (here it is "openwrt-kirkwood-nsa310.bin", then connect TTL to the board and write the following commands in the bootloader console: usb reset fatload usb 0 0x1000000 openwrt-kirkwood-nsa310.bin nand write 0x1000000 0x00000 0x100000 reset Now you are rebooting in the new u-boot, write this in its console to install the firmware: usb reset fatload usb 0 0x2000000 lede-kirkwood-nsa310b-squashfs-factory.bin nand erase.part ubi nand write 0x2000000 ubi 0x600000 If your firmware file is bigger than 6 MiBs you should write its size in hex instead of 0x600000 above, or remove that number entirely (it will take a while in this case). If you are using another uboot that can read ubi, set mtdparts like this mtdparts=mtdparts=orion_nand:0x00c0000(uboot),0x80000(uboot_env),0x7ec0000(ubi) And set your bootcmd to be like this bootcmd=run setenv bootargs; ubi part ubi; ubi read 0x800000 kernel; bootm 0x800000 Then you can install the firmware as described above. After you installed (or configured) the u-boot for booting the firmware, write the device's mac address in the ethaddr u-boot env. The MAC address is usually on a sticker under the device (one of the two codes is the serial), it should begin with "107BEF" as it is assigned to ZyXEL. write in the u-boot console (use your MAC address instead of the example) setenv ethaddr 10:7B:EF:00:00:00 saveenv to save the mac address in the u-boot. Signed-off-by:
Alberto Bursi <alberto.bursi@outlook.it>
-
- Jan 11, 2017
-
-
Felix Fietkau authored
Fixes issues where the second-stage u-boot already uses UBI. Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Jan 09, 2017
-
-
Felix Fietkau authored
It has been unused, and less useful than squashfs for cases where flash space usage matters. Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Jan 06, 2017
-
-
Hauke Mehrtens authored
Refresh patches on all 4.4 supported platforms. Compile & run tested: lantiq/xrx200 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
- Dec 30, 2016
-
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Dec 27, 2016
-
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Dec 24, 2016
-
-
Felix Fietkau authored
Adds support for per-device rootfs Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Clean up packaged modules Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Remove dt: it is implicitly enabled based on the kernel config Remove tar.gz and jffs2_nand: Legacy build code has been removed, NAND devices are only supported with UBI now. Remove ubifs: deprecated, use squashfs images instead Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
This has been mostly non-functional for a while now Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Update the correspoding u-boot configs to stop relying on kernel-in-rootfs, which was removed a while back Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Oct 26, 2016
-
-
Paul Wassi authored
The pogo_e02's dts file has its LEDs named "pogo_e02:(...)" Fix the status-LED's name for this device. Signed-off-by:
Paul Wassi <p.wassi@gmx.at>
-
Paul Wassi authored
Remove redundant code: merge boards/cases that share the same network configuration. Also fix the alphabetical ordering of the cases. Signed-off-by:
Paul Wassi <p.wassi@gmx.at>
-
Paul Wassi authored
Build the RTC driver into the kernel, (and remove the optional module), in order to make hctosys working. (Currently the module is loaded after hctosys has failed previously) Signed-off-by:
Paul Wassi <p.wassi@gmx.at>
-
- Sep 19, 2016
-
-
bobafetthotmail authored
because with the current system I'm getting fake uImages that are actually a renamed zImage, and that's plain wrong. This fixes bug https://bugs.lede-project.org/index.php?do=details&task_id=131 and https://bugs.lede-project.org/index.php?do=details&task_id=139 Signed-off-by:
Alberto Bursi <alberto.bursi@outlook.it>
-
- Sep 13, 2016
-
-
Mathias Kresin authored
Using pad-to instead of passing the optional padding to append-kernel or append-rootfs. It could be that the value of a variable is passed. In case the variable is empty no error is thrown. Furthermore the purpose of the extra parameter is hard to get without reading the code. Signed-off-by:
Mathias Kresin <dev@kresin.me>
-
Mathias Kresin authored
This reverts commit ec37a565 and fixes the underlying issue.
-
- Sep 12, 2016
-
-
Felix Fietkau authored
Only add them where they are actually required. Should help with compatibility issues with stock U-Boot images that access UBI Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Sep 10, 2016
-
-
Mathias Kresin authored
- quote the interface name - remove call of not existing function - remove the proto if it's the default proto Signed-off-by:
Mathias Kresin <dev@kresin.me>
-
- Sep 04, 2016
-
-
Mathias Kresin authored
Use k as unit suffix for kilobyte to have a the same unit regardless of the used filesystem. Signed-off-by:
Mathias Kresin <dev@kresin.me>
-
- Jul 29, 2016
-
-
Jo-Philipp Wich authored
Now that the "sysupgrade-nand" step is used by non-NAND targets as well, rename it to "sysupgrade-tar" to make it more generic. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- Jul 25, 2016
-
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Jul 20, 2016
-
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Jul 15, 2016
-
-
Felix Fietkau authored
It is used by a core build template, so the variable should be initialized and added to DEVICE_VARS in the core. Same for DEVICE_DTS_DIR Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Jul 14, 2016
-
-
Felix Fietkau authored
Move UBI related variable export to core, since the variables are used by a core Build/ template Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Jun 22, 2016
-
-
Ben Whitten authored
This build step is used by various targets, move it to a common section. Signed-off-by:
Ben Whitten <ben.whitten@gmail.com>
-
- Jun 07, 2016
-
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- May 24, 2016
-
-
Jo-Philipp Wich authored
The query for ARMADA_THERMAL is stalling the kconfig process and as long as we do not package it, simply disable the symbol. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- May 19, 2016
-
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Mar 14, 2016
-
-
Luka Perkov authored
Signed-off-by:
Luka Perkov <luka@openwrt.org> SVN-Revision: 49022
-
Luka Perkov authored
Signed-off-by:
Luka Perkov <luka@openwrt.org> SVN-Revision: 49021
-