LEDE piratebox coming to A5-V11 and Zsun February 12, 2018 01:08AM |
Registered: 8 years ago Posts: 181 |
cp /path/to/usb/lede-17.01.4-ramips-rt305x-a5-v11-squashfs-sysupgrade.bin /tmp/firmware.bin sysupgrade -n -v /tmp/firmware.bin
Re: LEDE piratebox coming to A5-V11 and Zsun February 12, 2018 04:40AM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: LEDE piratebox coming to A5-V11 and Zsun February 12, 2018 05:13AM |
Registered: 8 years ago Posts: 181 |
Re: LEDE piratebox coming to A5-V11 and Zsun February 12, 2018 10:39PM |
Registered: 8 years ago Posts: 181 |
make install_zip INSTALL_TARGET=pirateboxSince it looks like we will soon me implementing different Target Devices, How are we going to go about doing that in the makefile? I see where we now have an include folder and what it does.
config global option anon_swap '0' option anon_mount '0' option auto_swap '1' option auto_mount '1' option delay_root '5' option check_fs '0' config mount option target '/mnt/sda1' option uuid '60A9-A1A7' option enabled '0' config mount 'ext1' option target '/mnt/usb' option device '/dev/sda1' option fstype 'auto' option options 'umask=0,utf8=1,noatime,rw' option enabled_fsck '0' option enabled '1' config pirateswap 'swap' option device '/mnt/usb/external_fs/OpenWRT.swap' option enabled '1' config mount 'piratebox' option target '/mnt/ext' option device '/mnt/usb/external_fs/OpenWRT.img' option options 'loop,rw,sync' option enabled '1' config mount 'pirateimage' option target '/opt/piratebox' option device '/mnt/usb/PirateBox/pbIMG_ws.img' option options 'loop' option enabled '1'
batman-adv.ko nf_nat_ipv4.ko cfg80211.ko nf_nat_masquerade_ipv4.ko compat.ko nf_nat_redirect.ko crc-ccitt.ko nf_reject_ipv4.ko crc-itu-t.ko nf_reject_ipv6.ko crc16.ko nls_base.ko crc32c_generic.ko nls_cp437.ko crypto_hash.ko nls_cp850.ko eeprom_93cx6.ko nls_iso8859-1.ko ehci-hcd.ko nls_iso8859-15.ko ehci-platform.ko nls_utf8.ko ext4.ko ohci-hcd.ko fat.ko ohci-platform.ko gpio-button-hotplug.ko rt2800lib.ko ip6_tables.ko rt2800mmio.ko ip6t_REJECT.ko rt2800soc.ko ip6table_filter.ko rt2x00lib.ko ip6table_mangle.ko rt2x00mmio.ko ip_tables.ko rt2x00soc.ko ipt_MASQUERADE.ko scsi_mod.ko ipt_REJECT.ko sd_mod.ko iptable_filter.ko usb-common.ko iptable_mangle.ko usb-storage.ko iptable_nat.ko usbcore.ko jbd2.ko vfat.ko leds-gpio.ko x_tables.ko libcrc32c.ko xt_CT.ko loop.ko xt_LOG.ko mac80211.ko xt_REDIRECT.ko mbcache.ko xt_TCPMSS.ko nf_conntrack.ko xt_comment.ko nf_conntrack_ipv4.ko xt_conntrack.ko nf_conntrack_ipv6.ko xt_limit.ko nf_conntrack_rtcache.ko xt_mac.ko nf_defrag_ipv4.ko xt_mark.ko nf_defrag_ipv6.ko xt_multiport.ko nf_log_common.ko xt_nat.ko nf_log_ipv4.ko xt_state.ko nf_log_ipv6.ko xt_tcpudp.ko nf_nat.ko xt_time.ko
[ 33.161561] br-lan: port 1(eth0) entered forwarding state [ 35.001772] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 35.039245] device wlan0 entered promiscuous mode [ 35.095369] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 35.108519] br-lan: port 2(wlan0) entered forwarding state [ 35.119697] br-lan: port 2(wlan0) entered forwarding state [ 37.111470] br-lan: port 2(wlan0) entered forwarding state [ 68.751551] random: nonblocking pool is initialized [ 1633.204118] usb 1-1: USB disconnect, device number 2 [ 1636.961441] usb 1-1: new high-speed USB device number 3 using ehci-platform [ 1637.128388] usb-storage 1-1:1.0: USB Mass Storage device detected [ 1637.162253] scsi host1: usb-storage 1-1:1.0 [ 1638.173599] scsi 1:0:0:0: Direct-Access SanDisk Cruzer Fit 1.00 PQ: 0 ANSI: 6 [ 1638.197703] sd 1:0:0:0: [sda] 62521344 512-byte logical blocks: (32.0 GB/29.8 Gi [ 1638.215692] sd 1:0:0:0: [sda] Write Protect is off [ 1638.225466] sd 1:0:0:0: [sda] Mode Sense: 43 00 00 00 [ 1638.227606] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 1638.279711] sda: sda1 [ 1638.297178] sd 1:0:0:0: [sda] Attached SCSI removable disk [ 1638.729744] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Re: LEDE piratebox coming to A5-V11 and Zsun February 13, 2018 06:54PM |
Admin Registered: 13 years ago Posts: 4,680 |
make install_zip INSTALL_TARGET=pirateboxWill only work, after doing at least
make imagebuilder make <one imagename> => make MR3020You may need to add additional parameters if you want to build a different ARCH, like
make imagebuilder TARGET=rampis TARGET_TYPE=mt7620 make GLMT300 TARGET=rampis TARGET_TYPE=mt7620 make install_zip INSTALL_TARGET=piratebox GLMT300 TARGET=rampis TARGET_TYPE=mt7620
Re: LEDE piratebox coming to A5-V11 and Zsun February 14, 2018 02:34AM |
Registered: 8 years ago Posts: 181 |
Re: LEDE piratebox coming to A5-V11 and Zsun February 14, 2018 03:26AM |
Registered: 8 years ago Posts: 181 |
make imagebuilder TARGET=ramips TARGET_TYPE=rt305x make a5-v11 TARGET=ramips TARGET_TYPE=rt305x make install_zip INSTALL_TARGET=piratebox a5-v11 TARGET=ramips TARGET_TYPE=rt305x
Re: LEDE piratebox coming to A5-V11 and Zsun February 14, 2018 07:04PM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: LEDE piratebox coming to A5-V11 and Zsun February 15, 2018 01:02AM |
Registered: 8 years ago Posts: 181 |
Re: LEDE piratebox coming to A5-V11 and Zsun February 15, 2018 05:08AM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: LEDE piratebox coming to A5-V11 and Zsun February 15, 2018 02:15PM |
Registered: 8 years ago Posts: 181 |
Re: LEDE piratebox coming to A5-V11 and Zsun February 17, 2018 07:30AM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: LEDE piratebox coming to A5-V11 and Zsun February 17, 2018 02:17PM |
Registered: 8 years ago Posts: 181 |
Re: LEDE piratebox coming to A5-V11 and Zsun February 17, 2018 03:23PM |
Registered: 8 years ago Posts: 181 |
Re: LEDE piratebox coming to A5-V11 and Zsun February 18, 2018 12:58PM |
Admin Registered: 13 years ago Posts: 4,680 |
/etc/init.d/piratebox restart(or stop&start)
Re: LEDE piratebox coming to A5-V11 and Zsun February 18, 2018 03:09PM |
Registered: 8 years ago Posts: 181 |
/etc/rc.common: line 146: /opt/piratebox/init.d/piratebox_alt: not found mount: mounting /dev/loop1 on /opt/piratebox failed: Invalid argument /etc/init.d/piratebox: ERROR: unable to mount piratebox image
mount -o loop /mnt/usb/PirateBox/pbIMG_ws.img /opt/piratebox/mount: mounting /dev/loop1 on /opt/piratebox/ failed: Invalid argument
Re: LEDE piratebox coming to A5-V11 and Zsun February 19, 2018 08:01AM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: LEDE piratebox coming to A5-V11 and Zsun February 19, 2018 10:50PM |
Registered: 8 years ago Posts: 181 |
Re: LEDE piratebox coming to A5-V11 and Zsun February 20, 2018 09:27AM |
Admin Registered: 13 years ago Posts: 4,680 |
Sun Feb 18 16:52:55 2018 kern.info kernel: [ 429.231479] usb 1-1: reset high-speed USB device number 2 using ehci-platform Sun Feb 18 16:53:35 2018 kern.info kernel: [ 468.271492] usb 1-1: reset high-speed USB device number 2 using ehci-platform Sun Feb 18 16:53:35 2018 kern.info kernel: [ 468.963516] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x03 driverbyte=0x00 Sun Feb 18 16:53:35 2018 kern.info kernel: [ 468.979996] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 45 51 00 00 7f 00 Sun Feb 18 16:53:35 2018 kern.err kernel: [ 468.995220] blk_update_request: I/O error, dev sda, sector 17745This totally reads like an USB issue... and if you tried multiple USB sticks, I guess the device has some issue with the USB host chip/adapter/whatsoever. :-(
Re: LEDE piratebox coming to A5-V11 and Zsun May 26, 2018 02:36PM |
Registered: 8 years ago Posts: 181 |
Re: LEDE piratebox coming to A5-V11 and Zsun June 21, 2018 09:34PM |
Re: LEDE piratebox coming to A5-V11 and Zsun August 16, 2018 12:48AM |
Registered: 8 years ago Posts: 181 |
Re: LEDE piratebox coming to A5-V11 and Zsun November 15, 2019 04:13AM |
Registered: 8 years ago Posts: 181 |