Re: Pogoplug Mobile with bodhi's U-Boot and OpenWRT? May 02, 2020 11:37PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Pogoplug Mobile with bodhi's U-Boot and OpenWRT? May 03, 2020 05:46PM |
Admin Registered: 13 years ago Posts: 18,821 |
nc -lup 6666 192.168.100.25 6666
Re: Pogoplug Mobile with bodhi's U-Boot and OpenWRT? May 04, 2020 03:52PM |
Registered: 11 years ago Posts: 27 |
# OpenWRT neither provides nor needs a DTB file, so unset that variable /tmp # ./tools/fw_setenv dtb_file
Re: Pogoplug Mobile with bodhi's U-Boot and OpenWRT? May 04, 2020 04:29PM |
Admin Registered: 13 years ago Posts: 18,821 |
> # OpenWRT neither provides nor needs a DTB file, > so unset that variable > /tmp # ./tools/fw_setenv dtb_file >>
Quote
https://forum.doozan.com/read.php?2,23630
How to boot Arch Linux ARM with bodhi's released u-boot
How to boot Void Linux with bodhi's released u-boot
Re: Pogoplug Mobile with bodhi's U-Boot and OpenWRT? May 04, 2020 04:34PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Pogoplug Mobile with bodhi's U-Boot and OpenWRT? May 04, 2020 04:58PM |
Registered: 11 years ago Posts: 27 |
So, if one want to boot from your roots tar ball, this environment variable must be set, correct?Quote
That env just tell whether the DTB is separate or already appended to uImage.
Without the changes by iSKUNK, net console still work, right?Quote
I've modified it slightly since u-boot was released in 2017. But it basically work the same way. IP addresses must be changed to your specific nework.
Quote
I'm going to move this thread to the Rescue Sub-forum. It really should be in there, where all matters related to OpenWrt can be dicussed properly.
Re: Pogoplug Mobile with bodhi's U-Boot and OpenWRT? May 04, 2020 06:23PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Pogoplug Mobile with bodhi's U-Boot and OpenWRT? May 04, 2020 09:59PM |
Admin Registered: 13 years ago Posts: 18,821 |
Quote
Rescue Systems
Rescue System V2 (Original)
MacPlug & SMBPLug
Rescue System Pogo V3
Rescue System V4, using a custom LEDE firmware (BETA)
Rescue System for Pogo E02 using LEDE/OpenWrt (Install with Serial Console)
Rescue System for Pogo V4/Mobile using OpenWrt (Install with NetConsole)
Re: Pogoplug Mobile with bodhi's U-Boot and OpenWRT? May 05, 2020 12:59AM |
Registered: 11 years ago Posts: 22 |
$ nc -lup 6666 192.168.100.25 6666 usage: nc [-46CDdFhklNnrStUuvZz] [-I length] [-i interval] [-M ttl] [-m minttl] [-O length] [-P proxy_username] [-p source_port] [-q seconds] [-s source] [-T keyword] [-V rtable] [-W recvlimit] [-w timeout] [-X proxy_protocol] [-x proxy_address[:port]] [destination] [port]I appear to have the OpenBSD version of netcat. Which version are you using?
Quote
Up in the Wiki thread:
Re: Pogoplug Mobile with bodhi's U-Boot and OpenWRT? May 05, 2020 01:30AM |
Admin Registered: 13 years ago Posts: 18,821 |
> $ nc -lup 6666 192.168.100.25 6666 > usage: nc [-46CDdFhklNnrStUuvZz] [-I length] [-i > interval] [-M ttl] > [-m minttl] [-O length] [-P proxy_username] [-p > source_port] > [-q seconds] [-s source] [-T keyword] [-V > rtable] [-W recvlimit] [-w timeout] > [-X proxy_protocol] [-x proxy_address[:port]] > [destination] [port] >> I appear to have the OpenBSD version of
nc -lup 6666 192.168.100.25 6666
Re: Pogoplug Mobile with bodhi's U-Boot and OpenWRT? May 05, 2020 02:31AM |
Registered: 11 years ago Posts: 22 |
It would be best left as an optional step, for users with greater security needs (but not enough familiarity with U-Boot to navigate the setup themselves). An important part of this would be to recommend keeping the uEnv.txt file on removable storage, to help prevent the possibility of getting locked out. This way, the USB drive / SD card can serve as a sort of "access key" that can easily be recreated if necessary.Quote
bodhi
I've intentionally avoided this in the instruction. uEnv.txt could be used to activate netconsole with some change in envs. But it will be an unsafe thing to do for everybody, people could be locked out of the box with a simple typo. So I'd rather live with the limitation, and not making it a normal setup in the installation.
Re: Pogoplug Mobile with bodhi's U-Boot and OpenWRT? May 05, 2020 03:57AM |
Admin Registered: 13 years ago Posts: 18,821 |
devices=usb ide mmc
Re: Pogoplug Mobile with bodhi's U-Boot and OpenWRT? May 05, 2020 07:20AM |
Registered: 11 years ago Posts: 27 |
root@OpenWrt:~# cat /proc/mtd dev: size erasesize name mtd0: 001c0000 00020000 "uboot" mtd1: 00040000 00020000 "uboot_env" mtd2: 07e00000 00020000 "ubi" root@OpenWrt:~# fw_setenv partition 'nand0,0' Can't open /dev/mtd0: Permission denied Error: can't write fw_env to flash root@OpenWrt:~# fw_printenv mtdparts mtdparts=mtdparts=orion_nand:0x200000@0x0(u-boot),-@0x200000(ubi)
Re: Pogoplug Mobile with bodhi's U-Boot and OpenWRT? May 05, 2020 08:46PM |
Registered: 11 years ago Posts: 27 |
Re: Pogoplug Mobile with bodhi's U-Boot and OpenWRT? May 05, 2020 10:59PM |
Registered: 7 years ago Posts: 369 |
Re: Pogoplug Mobile with bodhi's U-Boot and OpenWRT? May 05, 2020 11:38PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Pogoplug Mobile with bodhi's U-Boot and OpenWRT? May 07, 2020 01:19PM |
Registered: 11 years ago Posts: 27 |
Quote
# Restore original MAC address from the stock U-Boot environment
# (actual value redacted)
/tmp # ./tools/fw_setenv ethaddr '00:25:XX:XX:XX:XX'
fw_setenv ethaddr "$(cat /sys/class/net/eth0/address)"
Re: Pogoplug Mobile with bodhi's U-Boot and OpenWRT? May 07, 2020 04:53PM |
Admin Registered: 13 years ago Posts: 18,821 |