diff mbox

[LEDE-DEV] tools: upslug2: Utilize existing bz2 archive

Message ID 20161123210039.29267-1-f.fainelli@gmail.com
State Superseded
Headers show

Commit Message

Florian Fainelli Nov. 23, 2016, 9 p.m. UTC
http://downloads.openwrt.org/sources has a copy of the sources, but under
tar.bz2 file format, so utilize this one since the SVN server is down.

This showed up with attempting an orion target build.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 tools/upslug2/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

John Crispin Nov. 26, 2016, 9:33 p.m. UTC | #1
On 23/11/2016 22:00, Florian Fainelli wrote:
> http://downloads.openwrt.org/sources has a copy of the sources, but under
> tar.bz2 file format, so utilize this one since the SVN server is down.

Hi

we recently switched to xz from bz2. i think we should just upload a xz
file to the mirror instead

	John

> 
> This showed up with attempting an orion target build.
> 
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> ---
>  tools/upslug2/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/upslug2/Makefile b/tools/upslug2/Makefile
> index b28f9efab95f..33b1ff5a42bb 100644
> --- a/tools/upslug2/Makefile
> +++ b/tools/upslug2/Makefile
> @@ -13,7 +13,7 @@ PKG_SOURCE_URL:=http://svn.nslu2-linux.org/svnroot/upslug2/trunk
>  PKG_SOURCE_PROTO:=svn
>  PKG_SOURCE_SUBDIR:=upslug2-$(PKG_VERSION)
>  PKG_SOURCE_VERSION:=41
> -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
> +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
>  
>  include $(INCLUDE_DIR)/host-build.mk
>  
>
Florian Fainelli Nov. 26, 2016, 9:34 p.m. UTC | #2
Le 26/11/2016 à 13:33, John Crispin a écrit :
> 
> 
> On 23/11/2016 22:00, Florian Fainelli wrote:
>> http://downloads.openwrt.org/sources has a copy of the sources, but under
>> tar.bz2 file format, so utilize this one since the SVN server is down.
> 
> Hi
> 
> we recently switched to xz from bz2. i think we should just upload a xz
> file to the mirror instead

Sure we could do that as well, I don't think I remember how to upload to
d.o.o/sources though...
John Crispin Nov. 26, 2016, 9:38 p.m. UTC | #3
On 26/11/2016 22:34, Florian Fainelli wrote:
> Le 26/11/2016 à 13:33, John Crispin a écrit :
>>
>>
>> On 23/11/2016 22:00, Florian Fainelli wrote:
>>> http://downloads.openwrt.org/sources has a copy of the sources, but under
>>> tar.bz2 file format, so utilize this one since the SVN server is down.
>>
>> Hi
>>
>> we recently switched to xz from bz2. i think we should just upload a xz
>> file to the mirror instead
> 
> Sure we could do that as well, I don't think I remember how to upload to
> d.o.o/sources though...
> 

do we still use that server ? i will upload it to the lede mirror tomorrow.

	John
Felix Fietkau Dec. 1, 2016, 10:47 a.m. UTC | #4
On 2016-11-23 22:00, Florian Fainelli wrote:
> http://downloads.openwrt.org/sources has a copy of the sources, but under
> tar.bz2 file format, so utilize this one since the SVN server is down.
> 
> This showed up with attempting an orion target build.
> 
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Since upslug2 is not used by the build, I would suggest removing it from
tools/ instead. The NSLU2 devices are not widely used anymore...

- Felix
Daniel Golle Dec. 1, 2016, 1:26 p.m. UTC | #5
Hi Felix,

On Thu, Dec 01, 2016 at 11:47:08AM +0100, Felix Fietkau wrote:
> On 2016-11-23 22:00, Florian Fainelli wrote:
> > http://downloads.openwrt.org/sources has a copy of the sources, but under
> > tar.bz2 file format, so utilize this one since the SVN server is down.
> > 
> > This showed up with attempting an orion target build.
> > 
> > Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> Since upslug2 is not used by the build, I would suggest removing it from
> tools/ instead. The NSLU2 devices are not widely used anymore...

They are certainly are bit outdated, however, I recently flashed a
LEDE snapshot to an IXP4xx based SLUG and it worked like a charme and
now provides a small samba fileserver in a friend's place with very
poor connectivity -- other than most of today's NAT boxes the slug
actually got an RTC and the battery even still works up to today ;)
Well, I had to enable upslug2 also for the ixp4xx target to be able
to actually flash the device... (despite the popularity of the device
10 years ago OpenWrt/LEDE could be the last resort when it comes to
tools and a working OS for that hardware).

The slug was the first hackable Linux-based ARM box available to
consumers world wide for an affordable price.  They come up with
RedBoot/ecos, thus can be un-bricked using this tool without the need
to attach a serial console. There used to be a whole cluster of
specialized distributions which apparently have all been abandonned;
I consider that whole story to be an important piece of history which
happened in parallel with the WRT54G and shouldn't just be neglected
as 'yet another piece of outdated gear'.

Actually, there are still quite a number of them in the wild -- and
imho they provide an interesting edge- case being the smallest and most
obscure (Intel's xscale ARM implemented with *big endian*) platform
supported by the most minimalistic embedded Linux distro out there.
Many people started embedded hacking with those boxes and are familiar
with the expected performance (hence the name 'slug') and constraints.
Code which even works well on the slug should work pretty well on
practically all platforms today.

Just my 2cts...


Cheers


Daniel

> 
> - Felix
> 
> 
> _______________________________________________
> Lede-dev mailing list
> Lede-dev@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev
diff mbox

Patch

diff --git a/tools/upslug2/Makefile b/tools/upslug2/Makefile
index b28f9efab95f..33b1ff5a42bb 100644
--- a/tools/upslug2/Makefile
+++ b/tools/upslug2/Makefile
@@ -13,7 +13,7 @@  PKG_SOURCE_URL:=http://svn.nslu2-linux.org/svnroot/upslug2/trunk
 PKG_SOURCE_PROTO:=svn
 PKG_SOURCE_SUBDIR:=upslug2-$(PKG_VERSION)
 PKG_SOURCE_VERSION:=41
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 
 include $(INCLUDE_DIR)/host-build.mk