Re: [ARTIQ] Elementary problems with Kasli

2018-10-02 Thread Hanhijärvi Kalle via ARTIQ
Hi David,

Ok, thank you, checking the boot logs did the trick. Apparently the MAC address 
I had generated wasn't an appropriate unicast address. Newly generated MAC 
seems to work just fine.

- Kalle

-Original Message-
From: David Nadlinger  On Behalf Of David Nadlinger
Sent: 1. lokakuuta 2018 20:04
To: Hanhijärvi Kalle 
Cc: artiq@lists.m-labs.hk
Subject: Re: [ARTIQ] Elementary problems with Kasli

Hi Kalle,

On 1 Oct 2018, at 15:30, Hanhijärvi Kalle via ARTIQ wrote:
> Following this I set IP and MAC addresses:
>
> $ artiq_mkfs flash_storage.img -s mac 75:53:7b:9c:63:14 -s ip
> 192.168.1.10
> $ artiq_flash -t kasli -f flash_storage.img storage start
>
> Now I tried to write the core kernel to the board by (after successful 
> compilation of idle_kernel)
>
> $ artiq_coremgmt config -f idle_kernel idle_kernel.elf
>
> This gives an error about having no route to host. So I can't 
> establish a network connection to the board.

Can you ping the board on the command line using that address? You might also 
want to have a look at the serial console while the Kasli is booting up for 
relevant debug information (e.g. using `flterm /dev/ttyUSB1`).

Best regards,
David
___
ARTIQ mailing list
https://ssl.serverraum.org/lists/listinfo/artiq


Re: [ARTIQ] Elementary problems with Kasli

2018-10-01 Thread Sébastien Bourdeauducq via ARTIQ

On 10/01/2018 10:30 PM, Hanhijärvi Kalle via ARTIQ wrote:

On Kasli, I'm using SFP0 port for the fiber.


Is the LED next to SFP0 turned on? That's the Ethernet connection status 
indicator.

___
ARTIQ mailing list
https://ssl.serverraum.org/lists/listinfo/artiq


[ARTIQ] Elementary problems with Kasli

2018-10-01 Thread Hanhijärvi Kalle via ARTIQ
Hello,

I'm not sure if this is the right forum for a technical question such as this, 
so my apologies if this is inappropriate.

We recently acquired Kasli (v. 1.1.) board with Urukul DDS addon, and now we've 
had some elementary problems when in the installation.

So I've been following the 4.0.dev-branch documentation for installation.

While installing artiq packages using conda, I assumed we had opticlock-variant 
of kasli (so I figured out from the documentation).

I was able to flash FPGA gateware bitstream by doing:

$ artiq_flash -t kasli

Following this I set IP and MAC addresses:

$ artiq_mkfs flash_storage.img -s mac 75:53:7b:9c:63:14 -s ip 192.168.1.10
$ artiq_flash -t kasli -f flash_storage.img storage start

Now I tried to write the core kernel to the board by (after successful 
compilation of idle_kernel)

$ artiq_coremgmt config -f idle_kernel idle_kernel.elf

This gives an error about having no route to host. So I can't establish a 
network connection to the board.

Here I prepared device_db.py, with core_addr = "192.168.1.10". Is this correct 
way to set the target IP address? Configurations are done on a computer with IP 
set to 192.168.1.1, netmask set to 255.255.255.0 and connected to the Kasli 
board through a gigabit switch with SFP ports. On Kasli, I'm using SFP0 port 
for the fiber.

Any ideas? am I doing something wrong?

BR
Kalle Hanhijärvi
___
ARTIQ mailing list
https://ssl.serverraum.org/lists/listinfo/artiq