Go Down

Topic: Yun 17.11 Reboot prerelease (Read 23223 times) previous topic - next topic

gpedder

Hi, the links arent' working. Is this project dead?

AgroMeInc

Doesn't seem dead but this thread does.

try these: https://github.com/arduino/yun-go-updater/releases


jhsung97

Finally a chance to try it out ... so far the auto updater is not working. Needs sudo for the tftp daemon, assumes there isn't one already running (closed my existing) and then an IP address conflict (switched off local machine causing the conflict)

I'm still getting a timeout at flashing the boot loader: ...


Flashing Bootloader
tftp 0x80060000 u-boot-arduino-lede.bin
eth0 link down
FAIL
eth1 link down
FAIL
Using eth0 device
TFTP from server 192.168.99.200; our IP address is 192.168.99.201
Filename 'u-boot-arduino-lede.bin'.
Load address: 0x80060000
Loading: T T T T T T
expect: timer expired after 30 seconds
Could not get your IP address, check your network connection

*Update*: seemed like the ip address setup was a bit finicky about being on an existing network, got it working after isolating on a cross over cable.

Nice to see an update on the Yun, off to explore ! Thanks :)


Finally a chance to try it out ... so far the auto updater is not working. Needs sudo for the tftp daemon, assumes there isn't one already running (closed my existing) and then an IP address conflict (switched off local machine causing the conflict)

I'm still getting a timeout at flashing the boot loader: ...


Flashing Bootloader
tftp 0x80060000 u-boot-arduino-lede.bin
eth0 link down
FAIL
eth1 link down
FAIL
Using eth0 device
TFTP from server 192.168.99.200; our IP address is 192.168.99.201
Filename 'u-boot-arduino-lede.bin'.
Load address: 0x80060000
Loading: T T T T T T
expect: timer expired after 30 seconds
Could not get your IP address, check your network connection

*Update*: seemed like the ip address setup was a bit finicky about being on an existing network, got it working after isolating on a cross over cable.

Nice to see an update on the Yun, off to explore ! Thanks :)




jhsung97

Hello,
TFTP server is your computer. run TFTP util on your computer.
Then on u-boot status, put the cmd 'setenv serverip your ip'
 Next, put 'setenv ipaddr board's ip ' . You can use any thing as board ip if
it is in your network. Then re try.

Have a good luck.

jhsung97

Hello, thanks to new update.

I tried it but got a fail. So, I set up it manually resulting in a success.

Anyone who try it manually should be careful at some points.

You should use a new disk-expander util because old one yields a insufficient memory alarm.
(use the new version in the go-update package).

Next, you should update your u-boot at first due to a large package.

I am really happy due to this new update. I have some problems in using the python in the old version
(especially pip was not working due to certification problem). Now, it works fine.
Thanks.


AgroMeInc

Hi, I have tried everything and it's not working. I tried on WiFi anb on Wired network too. Actually the Mac is on WiFi and the Yún is connected via ethernet cable. Why does it always stop with: Could not get your IP address, check your network connection

Code: [Select]

Enter server IP address: 192.168.1.176
Enter board IP address: 192.168.1.198
Found port: /dev/cu.usbmodem1421
USB ID     2341:8041
USB serial
Using it
Restarting in bootloader mode
Get port list before reset
Wait for the port to disappear
Wait for the port to reappear
Found upload port:  /dev/cu.usbmodem1421
Flashing with command:/Users/alejandroimass/Downloads/Yun GO Updater 17.11/avr/bin/avrdude -C/Users/alejandroimass/Downloads/Yun GO Updater 17.11/avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -P/dev/cu.usbmodem1421 -b57600 -D -Uflash:w:/Users/alejandroimass/Downloads/Yun GO Updater 17.11/avr/YunSerialTerminal.ino.hex:i
Wait for the port to disappear
Wait for the port to reappear
Found upload port:  /dev/cu.usbmodem1421
Rebooting the board
Using stop command: ard
Got shell: ar7240
fwShell: ar7240
Flashing Bootloader
182492 bytes sent
Setting up IP addresses
Could not get your IP address, check your network connection

ballscrewbob

@AgroMeInc

If it already picked up an IP via DHCP it will be listed in your router DHCP list.

Worth checking that out as mine went right into DHCP after the update and the IP's were no longer viable Mine jumped into the system as 192.168.0.12 (which is in my subnet)

It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google (who would have thunk it ! ) or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

andsoforth

Does this stuff work for the Arduino Yun Rev 2? It doesn't say so specifically and it was created well before the Rev 2 was released.

Please clarify.

PaulRogers

#23
Oct 29, 2019, 11:54 pm Last Edit: Oct 31, 2019, 09:43 pm by PaulRogers
This is cool, I tried to flash openwrt latest from old yun 1.5 whatever and it would not work, not sure if it was this thread I saw or found it elsewhere, but tried this and indeed it did update OK, he mentions a new bootstrap that expands the space for the root partition to allow later openwrt images to be loaded, If anyone can further clue me in on where that is from I would be interested to know.  I would like to know from sub-basement up what is going on

Anyway, the process this did then allows latest openwrt to be loaded, why do that? latest versions of software/packages of course!

So, with latest openwrt do not bother with any of the usual yun bloat not even yunbridge, ttyS0 is not there anymore, all any programmer needs is to find out how to shut down the console on ttyATH0 (documented on openwrt wiki or forum) and then use stty or setserial to set baud rate a bit higher and do comms to arduino over that serial port, NICE.

I was having problems programming arduino side of yun without a network connection with this update, but with latest openwrt the arduino is not tied to the atheros anyway except through serial port and programming works fine in isolation.

btw, the yunserialconsole sketch does work after update to openwrt 18.06.04 if you set the baud rate to 9600 in the sketch not the 250,000 it defaults to.

A great board!

That said, this 17.11 reboot update has got ssl to luci and all the stuff someone who has played with all the arduino additions might want, though obviously not absolutely all things as someone on this thread was annoyed at.  I tested bridge and remote gpio setting which is ok.

STM anyone reasonably skilled coming at this fresh may be better with going next step to latest openwrt, dropping bridge and just writing a python script on atheros side to communicate with their sketch over ttyATH0.

Essentially for playing with the several Arduino layers on top, this 17.11 is cool, but for doing something dedicated with the yun, step up to openwrt latest.

Go Up