Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 13 +
1 file changed, 13 insertions(+)
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
package/system/procd/files/nand.sh | 20 +++-
1 file changed, 7 insertions(+), 13 deletions(-)
diff --git a/package/system/procd/files/nand.sh
b/package/system/procd/files/nand.sh
index 0ed1b63..dfa1ee6 100644
--- a/package
of sysupgrade_pre_upgrade exit). This may be a bit misleading.
Proposed solution adds a new function that will allow platform.sh
trigger NAND sysupgrade consciously. This will also allow cleaning
nand_do_platform_check limiting it to just checking the image.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
They are also present on some BCM63xx switches.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
V4: Fix description of B53_GMII_PORT_OVERRIDE_CTRL
Use GMII_PO_*
Fix description of B53_BRCM_HDR
---
.../generic/files/drivers/net/phy/b53/b53_regs.h | 33 ++
1 file
On 6 April 2015 at 08:32, Alex Henrie alexhenri...@gmail.com wrote:
2015-04-04 17:01 GMT-06:00 Rafał Miłecki zaj...@gmail.com:
I got serial working, unfortunately I discovered many problems with
wireless card support.
1) ssb believes there isn't cardbus
2) ssb can't detect PCI is working
On 30 March 2015 at 22:43, Jonas Gorski j...@openwrt.org wrote:
On Wed, Mar 18, 2015 at 8:48 PM, Rafał Miłecki zaj...@gmail.com wrote:
They are also present on some BCM63xx switches.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
.../generic/files/drivers/net/phy/b53/b53_regs.h | 32
On 30 March 2015 at 23:43, Rafał Miłecki zaj...@gmail.com wrote:
On 17 March 2015 at 22:05, Alex Henrie alexhenri...@gmail.com wrote:
I just mailed the router. When it arrives, please send confirmation to
me and to treasu...@spi-inc.org.
I just got it today, thanks!
I disassembled it, it's
Hi Ian,
On 10 March 2015 at 04:30, Ian Kent ra...@themaw.net wrote:
Add new sprom revision 11 variables to the nvram - sprom reader.
Signed-off-by: Ian Kent ra...@themaw.net
There are few problems with bcm53xx's SPROM and I've few comments to your patch.
bcm53xx's SPROM driver is modified
On 10 March 2015 at 04:30, Ian Kent ra...@themaw.net wrote:
The R8000 nvram is larger than 32k, increase nvram allocation to
64k to accomadate.
I handled this by sending nvram.c patch for mainline:
http://patchwork.linux-mips.org/patch/9651/
And backporting all changes to bcm53xx:
On 2 April 2015 at 11:03, Ian Kent ra...@themaw.net wrote:
On Thu, 2015-04-02 at 10:22 +0200, Rafał Miłecki wrote:
Other than that, current way of handling revisions is quite messy, I
guess you noticed it by yourself. I started reworking, see:
http://patchwork.linux-mips.org/patch/9659/
Again
On 2 April 2015 at 11:57, Ian Kent ra...@themaw.net wrote:
On Thu, 2015-04-02 at 17:47 +0800, Ian Kent wrote:
On Thu, 2015-04-02 at 09:45 +0200, Rafał Miłecki wrote:
On 10 March 2015 at 04:30, Ian Kent ra...@themaw.net wrote:
The R8000 nvram is larger than 32k, increase nvram allocation
On 10 March 2015 at 04:30, Ian Kent ra...@themaw.net wrote:
+@@ -93,6 +113,9 @@ struct ssb_sprom {
+ u16 boardflags2_lo; /* Board flags (bits 32-47) */
+ u16 boardflags2_hi; /* Board flags (bits 48-63) */
+ /* TODO store board flags in a single u64 */
++ /*
Please STOP sending HTML e-mails.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
vmlinux.lzma FOO-kernel.bin
which is redundant on brcm47xx where we never modify kernel image.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
With this fix using new image building system adds another overhead
because 99% of devices should share both: kernel (vmlinux.lzma) and TRX.
I'm wondering
On 17 March 2015 at 22:05, Alex Henrie alexhenri...@gmail.com wrote:
I just mailed the router. When it arrives, please send confirmation to
me and to treasu...@spi-inc.org.
I just got it today, thanks!
I disassembled it, it's really a PCMCIA wireless card, nice :) Quite
an unique device!
I
On 21 March 2015 at 06:06, wengbj fl.serv...@t-firefly.com wrote:
Signed-off-by: wengbj fl.serv...@t-firefly.com
---
target/linux/ramips/dts/FIREWRT.dts |5 +
1 file changed, 5 insertions(+)
diff --git a/target/linux/ramips/dts/FIREWRT.dts
b/target/linux/ramips/dts/FIREWRT.dts
On 21 March 2015 at 23:18, John Crispin blo...@openwrt.org wrote:
On 21/03/2015 23:15, Rafał Miłecki wrote:
On 21 March 2015 at 06:06, wengbj fl.serv...@t-firefly.com wrote:
Signed-off-by: wengbj fl.serv...@t-firefly.com
---
target/linux/ramips/dts/FIREWRT.dts |5 +
1 file changed
On 18 March 2015 at 11:28, Jonas Gorski j...@openwrt.org wrote:
On Wed, Mar 18, 2015 at 10:02 AM, Rafał Miłecki zaj...@gmail.com wrote:
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
.../generic/files/drivers/net/phy/b53/b53_common.c | 23
+-
.../generic/files
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
.../generic/files/drivers/net/phy/b53/b53_common.c | 23 +-
.../generic/files/drivers/net/phy/b53/b53_regs.h | 1 +
2 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/target/linux/generic/files/drivers/net/phy
They are also present on some BCM63xx switches.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
.../generic/files/drivers/net/phy/b53/b53_regs.h | 27 ++
1 file changed, 27 insertions(+)
diff --git a/target/linux/generic/files/drivers/net/phy/b53/b53_regs.h
b/target
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
When reading bcmrobo.c code for BCM5301X I've noticed that it uses
REG_CTRL_MIIPO (0x0e) with a following comment:
/* default(1 1) DUPLX_MODE:
* Full Duplex
*/
So I guess our bit definition may be reversed. Can someone verify this?
---
target
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
.../generic/files/drivers/net/phy/b53/b53_regs.h | 26 ++
1 file changed, 26 insertions(+)
diff --git a/target/linux/generic/files/drivers/net/phy/b53/b53_regs.h
b/target/linux/generic/files/drivers/net/phy/b53/b53_regs.h
They are also present on some BCM63xx switches.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
.../generic/files/drivers/net/phy/b53/b53_regs.h | 32 ++
1 file changed, 32 insertions(+)
diff --git a/target/linux/generic/files/drivers/net/phy/b53/b53_regs.h
b/target
On 14 March 2015 at 00:35, Jeff Waugh j...@bethesignal.org wrote:
(John: This patch takes into account r44765, but moves the FHANDLE config
stanza to a more understandable position in the file.)
If you want to put some comments in your patch, place them below the
---. This way they won't be
On 13 March 2015 at 07:38, Alex Henrie alexhenri...@gmail.com wrote:
I have a spare Linksys WRT300N V1, and according to the wiki, OpenWrt
does not yet fully support it:
http://wiki.openwrt.org/toh/linksys/wrt300n1
http://wiki.openwrt.org/toh/linksys/wrt300n
I would be happy to mail this
On 10 March 2015 at 04:43, Tymon banglang.hu...@foxmail.com wrote:
my cpu is BCM958522ER which is the same series with 4708 as well, 32MB
###boot log: (I updated the xxx-squashfs.trx to the flash)
Hit any key to stop autoboot: 0
Checking TRX Image at addr 1e20 ...
Uncompressing ...
On 10 March 2015 at 12:29, Jonas Gorski j...@openwrt.org wrote:
On Tue, Mar 10, 2015 at 4:30 AM, Ian Kent ra...@themaw.net wrote:
[OpenWrt-Devel] [PATCH 0/6] bcm53xx: changes for R8000 so far
Ah, this is supposed to be the V2.
Please version your patchsets when resubmitting, i.e. this would
On 1 March 2015 at 00:05, Rafał Miłecki zaj...@gmail.com wrote:
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
Gabor: I can see you were bumping mpc52xx kernel in the past. Could you
try 3.18?
Ping?
___
openwrt-devel mailing list
openwrt-devel
On 9 March 2015 at 10:08, Ian Kent ra...@themaw.net wrote:
Here are some changes done while working to get the R8000 working.
Some are straight forward while some require review.
Thanks :)
One request: please use bcm53xx: prefix, as it's what we do since always.
I'll try to reply to all
On 9 March 2015 at 10:08, Ian Kent ra...@themaw.net wrote:
Looks like the BCM53012 has a similar problem to the BCM53011.
Change looks OK, however I'd prefer you to simply modify existing
patch 170-pcie2-bcma-add-new-PCIe2-driver-for-bcma.patch
It still wasn't included/accepted mainline, so
On 9 March 2015 at 10:21, Rafał Miłecki zaj...@gmail.com wrote:
On 9 March 2015 at 10:08, Ian Kent ra...@themaw.net wrote:
Here are some changes done while working to get the R8000 working.
Some are straight forward while some require review.
Thanks :)
One request: please use bcm53xx
On 2 March 2015 at 06:11, ngc n...@ff.iij4u.or.jp wrote:
Modified 514-yaffs-3.6-use-delayed-work-instead-of-write_super.patch
which was included old trunk, to fit the current trunk kernel.
This needs to support the behavior when yaffs_auto_checkpoint is set '2',
in 3.6.x and later.
I got
On 1 March 2015 at 14:28, Jonas Gorski j...@openwrt.org wrote:
On Sun, Mar 1, 2015 at 1:04 AM, Rafał Miłecki zaj...@gmail.com wrote:
Depending on your definition of works, at least with a 16 MiB RAM device:
It boots, but eventually OOM's: http://pastebin.com/5kR99CMG
Adding the low_mem
On 26 February 2015 at 19:24, Florian Fainelli f.faine...@gmail.com wrote:
On 25/02/15 07:24, Alexandru Ardelean wrote:
Feature implemented and tested on BCM53128.
Slave devices logic copied from the Linux kernel from Marvell's DSA
driver ( linux/net/dsa/ ).
Also the logic for the Broadcom
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
Hey guys,
My previous request (posted half a year ago) was completely ignored:
[PATCH][RFT] omap: switch kernel to 3.14
https://lists.openwrt.org/pipermail/openwrt-devel/2014-September/027845.html
I'll really appreciate if someone can try
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
Gabor: I can see you were bumping mpc52xx kernel in the past. Could you
try 3.18?
---
target/linux/mpc52xx/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/mpc52xx/Makefile b/target/linux/mpc52xx/Makefile
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
target/linux/ep93xx/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/ep93xx/Makefile b/target/linux/ep93xx/Makefile
index 7e7422b..3da7ca9 100644
--- a/target/linux/ep93xx/Makefile
+++ b/target/linux/ep93xx
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
Gabor: I can see you were working on adm5120 in the past. Could you test
this patch?
---
target/linux/adm5120/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/adm5120/Makefile b/target/linux/adm5120
On 24 February 2015 at 16:29, Álvaro Fernández Rojas nolt...@gmail.com wrote:
diff --git a/include/kernel.mk b/include/kernel.mk
index e21d53a..18cb133 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -52,7 +52,11 @@ else
LINUX_SOURCE:=linux-$(LINUX_VERSION).tar.xz
On 24 February 2015 at 16:29, Álvaro Fernández Rojas nolt...@gmail.com wrote:
--- a/target/linux/generic/files/drivers/net/phy/swconfig.c
+++ b/target/linux/generic/files/drivers/net/phy/swconfig.c
@@ -396,7 +396,12 @@ swconfig_dump_attr(struct swconfig_callback *cb, void
*arg)
We can't simply hardcode v3.x directory name.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
include/kernel.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/kernel.mk b/include/kernel.mk
index e21d53a..eb3e07a 100644
--- a/include/kernel.mk
+++ b/include
On 12 February 2015 at 21:04, John Crispin blo...@openwrt.org wrote:
[0.564000] Creating 4 MTD partitions on spi32766.0:
[0.568000] 0x-0x0001 : uboot
[0.572000] 0x0001-0x0002 : uboot-env
[0.58] 0x0002-0x0003 : calibration
---
John can you give it a try, please?
---
.../generic/files/drivers/mtd/mtdsplit/mtdsplit_uimage.c | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_uimage.c
As you could notice I've improved mtdsplit_uimage a bit:
https://dev.openwrt.org/changeset/44412/
https://dev.openwrt.org/changeset/44413/
https://dev.openwrt.org/changeset/44414/
https://dev.openwrt.org/changeset/44415/
This should add support for Edimax devices, but... could also break
On 9 February 2015 at 21:52, Florian Fainelli flor...@openwrt.org wrote:
On 09/02/15 08:29, Will Sheppard wrote:
Patchset to essentially add custom TRX header to all firmware produced.
This is most useful for the Belkin routers from my experience. I'm not
how other trx based firmwares modify
On 10 February 2015 at 15:09, Daniel Golle dan...@makrotopia.org wrote:
simple-framebuffer now works on the A20.
I'm really not sure about other developers opinion (will be happy to
hear it), but I guess you could try to generate a patch using git and
git format-patch -C
That would allow
kernel: 3.19 was released
So what?
Commit message is supposed to describe the change, not what has happened.
--
Rafał
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
On 10 February 2015 at 15:06, Daniel Golle dan...@makrotopia.org wrote:
130, 771 and 772 were merged upstream.
304 had to be refreshed to apply on the new sources.
Nack.
This should be part of the previous patch. With current split of your
patches this one (2/3) fixes a kind of regression your
On 9 January 2015 at 10:51, Rafał Miłecki zaj...@gmail.com wrote:
If you look at include/cmake.mk you will notice followiing:
-DCMAKE_BUILD_TYPE=Release
It means that CMake uses CMAKE_C_FLAGS_RELEASE
I've created package and tested it using two variants:
1) TARGET_CFLAGS=-DFOO
Most app don't want to crash because of unhandled SIGPIPE. It could
happen is such trivial situations like writing to socket.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
V2: Replace signal call with sigaction
---
uloop.c | 23 +++
1 file changed, 23 insertions(+)
diff
Most app don't want to crash because of unhandled SIGPIPE. It could
happen is such trivial situations like writing to socket.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
V2: Replace signal call with sigaction
V3: Don't duplicate the code
---
uloop.c | 24
1 file
Most app don't want to crash because of unhandled SIGPIPE. It could
happen is such trivial situations like writing to socket.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
uloop.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/uloop.c b/uloop.c
index 9a77ce4..7d11bbc
On 25 January 2015 at 21:08, Florian Fainelli flor...@openwrt.org wrote:
Le 14/01/2015 22:54, Rafał Miłecki a écrit :
I wanted bcm53xx kernels to be compiled with EARLY_PRINTK by default.
This is safe, we enable earlyprintk using bootargs on tested devices
only.
So I have config option
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
uclient-http.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/uclient-http.c b/uclient-http.c
index 9f9fac9..eb69702 100644
--- a/uclient-http.c
+++ b/uclient-http.c
@@ -41,6 +41,7 @@ enum request_type {
REQ_HEAD,
REQ_POST
We are not supposed to modify it and ustream accepts const already.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
uclient-backend.h | 2 +-
uclient-http.c| 2 +-
uclient.c | 2 +-
uclient.h | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/uclient
I'm trying to use uclient to monitor my home network servers querying
http://ip/status . So far I was using bash + curl, but I'm trying to
learn libubox now.
So today I accidentally queried some unknown machine (random IP) and
my app crashed.
What has happened:
1) When I first called
On 21 January 2015 at 10:36, Christian Schoenebeck
christian.schoeneb...@gmail.com wrote:
Why to block users from using updated packages like ca-certificates,
privoxy or updated luci-apps
Because we:
1) Don't want help users breaking their installations if they upgrade
wrong package
2) Don't
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
V2: Add uclient_set_timeout
Stop timer after receiving data
Start timer after fetching data by uclient user
---
uclient-fetch.c | 4
uclient-http.c | 12 ++--
uclient.c | 36
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
V2: Add uclient_set_timeout
Stop timer after receiving data
Start timer after fetching data by uclient user
V3: Fix missing braces in __uclient_notify_read, thanks John!
---
uclient-fetch.c | 4
uclient-http.c | 13
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
uclient-fetch.c | 4
uclient.c | 25 -
uclient.h | 4
3 files changed, 32 insertions(+), 1 deletion(-)
diff --git a/uclient-fetch.c b/uclient-fetch.c
index 22f15c6..0617a02 100644
--- a/uclient
Otherwise some flags like USOCK_NONBLOCK wouldn't work as expected
(O_NONBLOCK affects connect behavior).
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
usock.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/usock.c b/usock.c
index 39909c1..7bde620 100644
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
usock.c | 30 ++
usock.h | 11 +++
2 files changed, 41 insertions(+)
diff --git a/usock.c b/usock.c
index 04ed4ee..39909c1 100644
--- a/usock.c
+++ b/usock.c
@@ -117,3 +117,33 @@ int usock(int type, const char
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
V2: Use poll instead of select
---
usock.c | 27 +++
usock.h | 11 +++
2 files changed, 38 insertions(+)
diff --git a/usock.c b/usock.c
index 04ed4ee..5bdd3ff 100644
--- a/usock.c
+++ b/usock.c
@@ -20,6 +20,7
This is required as we use USOCK_NONBLOCK.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
uclient-http.c | 5 +
uclient.h | 2 ++
2 files changed, 7 insertions(+)
diff --git a/uclient-http.c b/uclient-http.c
index c25e52f..82bef8a 100644
--- a/uclient-http.c
+++ b/uclient-http.c
On 15 January 2015 at 13:17, Felix Fietkau n...@openwrt.org wrote:
On 2015-01-15 12:50, Rafał Miłecki wrote:
This is required as we use USOCK_NONBLOCK.
Are you sure? Theoretically, ustream should already handle it properly.
The first write fails if the socket is not connected yet, so ustream
I wanted bcm53xx kernels to be compiled with EARLY_PRINTK by default.
This is safe, we enable earlyprintk using bootargs on tested devices
only.
So I have config option enabled in default configs:
grep EARLY_PRINTK target/linux/bcm53xx/config-3.1*
On 13 January 2015 at 16:56, Maxime Ripard
maxime.rip...@free-electrons.com wrote:
Some devices out there only have a NOR flash to store the rootfs on.
While using UBI is arguable on this kind of NAND, this is something that
should
be supported.
So why use UBI at all? Doesn't it make more
On 10 January 2015 at 12:54, Gianluca Anzolin gianl...@sottospazio.it wrote:
I just tried to install the latest CC trunk (r43901) on my netgear wndr4300,
a router with NAND flash on that uses UBIFS.
I noticed that I cannot use an external /overlay anymore: while I can mount
the usb drive on
If you look at include/cmake.mk you will notice followiing:
-DCMAKE_BUILD_TYPE=Release
It means that CMake uses CMAKE_C_FLAGS_RELEASE
I've created package and tested it using two variants:
1) TARGET_CFLAGS=-DFOO
This is what I got:
grep FOO build_dir/target-*/test/CMakeCache.txt
This allows using UBIFS volume as overlay and adds support for Btrfs.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
package/system/fstools/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/system/fstools/Makefile b/package/system/fstools/Makefile
index
I got wrong country set and couldn't use channels 12/13. So I set:
wireless.radio1.country=pl
however calling
/etc/init.d/network reload
didn't do anything. It seems netifd doesn't notice country change.
--
Rafał
___
openwrt-devel mailing list
On 25 December 2014 at 02:28, Vittorio G (VittGam) open...@vittgam.net wrote:
Signed-off-by: Vittorio Gambaletta open...@vittgam.net
diff --git a/package/base-files/files/lib/functions/leds.sh
b/package/base-files/files/lib/functions/leds.sh
index 4ac8145..d4d4512 100644
---
On 26 December 2014 at 09:51, Rafał Miłecki zaj...@gmail.com wrote:
On 25 December 2014 at 02:28, Vittorio G (VittGam) open...@vittgam.net
wrote:
Signed-off-by: Vittorio Gambaletta open...@vittgam.net
diff --git a/package/base-files/files/lib/functions/leds.sh
b/package/base-files/files
So far we were returning mount point which doesn't make sense for a
function that already takes mount point as an argument.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
libfstools/find.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/libfstools/find.c b/libfstools
In case /sys/devices/virtual/ubi/ubi?/ubi?_?/name doesn't exist volname
will be NULL and calling strlen for NULL isn't a good idea.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
libfstools/ubi.c | 4
1 file changed, 4 insertions(+)
diff --git a/libfstools/ubi.c b/libfstools/ubi.c
index
On 22 December 2014 at 15:06, Tomer Eliyahu tomereliya...@gmail.com wrote:
We are anxious to hear your thoughts/comments and will gladly share the code.
So... can we get it?
I guess we've just gained open source implementation of the
hyper-secret Broadcom's CTF technology :P
On 15 December 2014 at 13:17, Rafał Miłecki zaj...@gmail.com wrote:
This will allow simple sysupgrade-s including simpler reverting to the
original firmware.
I guess noone plans to NACK this? :)
___
openwrt-devel mailing list
openwrt-devel
Don't top post.
On 20 December 2014 at 18:58, Marc Nicholas m...@wimoto.com wrote:
Well, there-in lies the problem: AR71xx doesn’t have any patches for 3.14
kernel right now.
I’m trying to build it, though.
You can be the one to add them.
cp -R patches-3.14 patches-3.18
make
We already had ubifs idinfo, so only /dev/ubiN_M support was missing.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
block.c | 1 +
libblkid-tiny/libblkid-tiny.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/block.c b/block.c
index bba68c2
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
block.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/block.c b/block.c
index 68cfd5a..107ba64 100644
--- a/block.c
+++ b/block.c
@@ -598,6 +598,10 @@ static void check_filesystem(struct blkid_struct_probe *pr
Otherwise opening .extroot-uuid could fail.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
block.c | 4
1 file changed, 4 insertions(+)
diff --git a/block.c b/block.c
index 107ba64..c29017d 100644
--- a/block.c
+++ b/block.c
@@ -911,6 +911,10 @@ static int check_extroot(char *path
I've spent few hours today trying to understand extroot. I've failed :(
Of course I was trying to use wiki pages:
http://wiki.openwrt.org/doc/howto/extroot
http://wiki.openwrt.org/doc/uci/fstab
1) Main question
Is the following sentence true at all?
The configuration of extroot is very simple
On 16 December 2014 at 16:30, Imre Kaloz ka...@openwrt.org wrote:
On Tue, 16 Dec 2014 16:06:27 +0100, Gergely Kiss mail.g...@gmail.com
wrote:
On 16 December 2014 at 14:39, Flávio Silveira f...@terra.com.br wrote:
On 16/12/2014 11:23, Gergely Kiss wrote:
I'm not sure I understand what you
On 16 December 2014 at 16:06, Gergely Kiss mail.g...@gmail.com wrote:
So, is this simply about mounting an additional UBIFS partition at boot time?
If so, I believe the best solution would be to extend the
functionality of fstab with a simple (shell) script, as suggested in
the fstab wiki:
On 14 December 2014 at 23:00, Rafał Miłecki zaj...@gmail.com wrote:
This new argument is used right after starting regular preinit (which
happens if failsafe wasn't triggered). The main purpose of preinit
argument is to indicate that failsafe can be triggered, however we were
missing a way
This will allow simple sysupgrade-s including simpler reverting to the
original firmware.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
.../brcm47xx/base-files/lib/upgrade/platform.sh| 33 ++
1 file changed, 28 insertions(+), 5 deletions(-)
diff --git a/target/linux
On 15 December 2014 at 06:29, John Crispin blo...@openwrt.org wrote:
On 14/12/2014 21:37, Rafał Miłecki wrote:
1) I've modified DT to create ubi MTD partition on NAND
2) Wrote a simple preinit_main script creating rootfs_data2 UBI volume
3) Modified fstools to prefer rootfs_data2 over
This optimizes code: drops unneeded calls to the volume_find and checks.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
libfstools/jffs2.c | 44
libfstools/libfstools.h | 8 +---
libfstools/overlay.c| 18 --
libfstools
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
libfstools/libfstools.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/libfstools/libfstools.h b/libfstools/libfstools.h
index df7e48b..b03e432 100644
--- a/libfstools/libfstools.h
+++ b/libfstools/libfstools.h
@@ -41,10 +41,7 @@ extern int
On 14 December 2014 at 19:55, John Crispin blo...@openwrt.org wrote:
gregley sent a extroot ubi support patch.
with this in place 2 scenarios are possible.
1) install rootfs on your spi and with a extroot default config that
will copy the whole content over to the ubi. magic markers might be
it's clear when failsafe mode can be triggered.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
package/base-files/files/lib/functions/leds.sh | 4
package/base-files/files/lib/preinit/10_indicate_preinit | 6 +-
package/base-files/files/lib/preinit
Hi, this partially a continuation of the
Some standard partition name for extra user data?
thread.
Summary:
1) I have device with serial flash (16 MiB) and NAND flash (128 MiB).
2) Serial flash contains 2 partitions: bootloader and firmware.
3) Bootloader writes supplied image to the firmware
On 11 December 2014 at 21:17, John Crispin blo...@openwrt.org wrote:
On 11/12/2014 20:59, Rafał Miłecki wrote:
Let me simplify booting process into following stages:
1) preinit (LED blinking with medium freq)
2) init (LED blinking with medium freq)
3) done (LED state on)
The problem
Some devices have uImage headers after some extra headers (e.g. Edimax
devices). To support such cases our verify callback function should be
allowed to return header offset, not just a boolean value.
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
Hi Tomasz,
I was looking at the patch you
Let me simplify booting process into following stages:
1) preinit (LED blinking with medium freq)
2) init (LED blinking with medium freq)
3) done (LED state on)
The problem is this duplicated medium freq and that diag.sh
(set_state) has only two of above stages:
1) preinit
2) done
So we can't
On 7 December 2014 at 01:30, Rafał Miłecki zaj...@gmail.com wrote:
I've bcm53xx device which has two usable flashes:
1) SPI serial flash for CFE + firmware + NVRAM
2) NAND flash for extra data
Because of general design of OpenWrt firmware my image contains two
partitions: kernel and rootfs
On 7 December 2014 at 16:08, Hauke Mehrtens ha...@hauke-m.de wrote:
On 12/07/2014 01:18 AM, Rafał Miłecki wrote:
bcm_nand uses (and depends on) OF, so there isn't much sense to use
cmdlinepart
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
drivers/mtd/nand/bcm_nand.c | 7 +--
1
On 7 December 2014 at 16:11, John Crispin blo...@openwrt.org wrote:
On 07/12/2014 16:05, Hauke Mehrtens wrote:
On 12/07/2014 01:30 AM, Rafał Miłecki wrote:
I've bcm53xx device which has two usable flashes:
1) SPI serial flash for CFE + firmware + NVRAM
2) NAND flash for extra data
Because
On 7 December 2014 at 16:22, John Crispin blo...@openwrt.org wrote:
which board is this ? does the orig fw use the nand for data only ?
Some not-yet-released hardware I got as a sample from USA.
___
openwrt-devel mailing list
bcm_nand uses (and depends on) OF, so there isn't much sense to use
cmdlinepart
Signed-off-by: Rafał Miłecki zaj...@gmail.com
---
drivers/mtd/nand/bcm_nand.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/bcm_nand.c b/drivers/mtd/nand/bcm_nand.c
index
901 - 1000 of 1439 matches
Mail list logo