you can't connect from your PC via SSH to the board ?
Ahh sorry
I readed it the wrong way XD
emard
@emard
Ooooh so screen is because of something still refusing to work... OK I will boot and try . Can you maybe build RMII version, I have RMII module and cable to PC
Dolu1990
@Dolu1990
I got screen to work
emard
@emard
what's the trick?
Dolu1990
@Dolu1990
I don't know, i builded buildroot with the BR_PACKAGE_SCREEN + CONFIG_UNIX, and that was i
it
but when building it i flushed some buildroot caches, so maybe when lawrie tried the same, he got a incomplet build
emard
@emard
Possible! So still unix domain sockets were missing
Dolu1990
@Dolu1990
For RMII, yes, can do it, but then come the issue of having SoC forks XD
So should it be standard to have that RMII ?
emard
@emard
The LAN8270 module comes wired so that it doesnt need any initialization. It starts as 100mbit half duplex mode and raw packets start immediately arriving at 2-bit interface
Dolu1990
@Dolu1990
Also, about RMII
MDIO MDC CRS COL aren't realy required
which could make it fit on standard PMOD
emard
@emard
Id say so! Some are not even present at module
It doesnt fit to standard pmod because it has 1 line too much
Dolu1990
@Dolu1990
ohh sorry, i was looking at MII XD
emard
@emard
this lines are I think not needed
rmii_mdc <= 'Z';
rmii_mdio <= 'Z';
Dolu1990
@Dolu1990
right
unless you want to have full controle of the ethernet mode
emard
@emard
But they could make module different, those lines moved to 5th data row and then it would fit to standard PMOD
_
Dolu1990
@Dolu1990
but if you have 100 base tx => no need as far i know
emard
@emard
It is possible to make adapter to stnardard with flat cable and crimp connectors. Split unneeded wires from flat cable and swap with others, crimp it cross-over and then it should fit PMOD
Those LAN8270 are great and cheap solution to ethernet. They have even green and orange LED at RJ45 connector that show link state and blink at packet traffic
emard
@emard
When cable is unplugged, green is on. when cable is pluggedd, orange is on and green blinks ON at packet transmission in/out
Module is 3.3V only. I connected to 5V side of ulx3s accidentaly and module was instatnly fried. all LEDs OFF. I threw it directly into trash can :)
There are new versions of roottfs.tar.gz and uImage in Smp/images with a working version of screen. I don't know why my build didn't work before.
Lawrie Griffiths
@lawrie
I have also update bitstreams/ulx33_85f_blue_4core_saxonsoc.bit as it now contains a flash memory check in the bootloader.
I will produce an updated 2-core bitstream for a green 85f with 32MB.
emard
@emard
downloading new things
Lawrie Griffiths
@lawrie
I also put the latest dts in images (for people to look at and produce modified dtb from), plus the /etc/network/interfaces file you need for eth0 to work, plus create_keys.sh for dropbear.
emard
@emard
As small parallel research, I will try to assemble some hex display example for RMII so you can check that hardware is plugged into correct pins and eth cable is working
emard
@emard
downloading 85f green :)
Lawrie Griffiths
@lawrie
It needs dts_green85F. I deleted some of the old versions.
Dolu1990
@Dolu1990
So the flash check just check the 8 first bytes of both uboot and opensbi
Lawrie Griffiths
@lawrie
@emard If you use screen to attach to SaxonSoc Linux and then use screen on SaxonSoc Linux and then detach a session with ctrl-a d, which does it detach?
It seems a good idea if you are using screen on SaxonSoc, to use something else to connect to it, such as picocom.
emard
@emard
Haha you can change escape char for screen to be ctrl-b instead of ctrl-a so it will be detach correct one
fujprog has terminal option too
Lawrie Griffiths
@lawrie
Using the -t option on fujprog has the advantage that it connects immediately, so you see all the output including the memory and flash tests.