Current Server Time: 19:09 (Central Europe)

#apertus IRC Channel Logs

2013/08/26

Timezone: UTC


23:04
Bertl
ApertusWeb0: hello gabe!
23:04
ApertusWeb0
hi!
23:05
ApertusWeb0
who is this?
23:05
Bertl
ApertusWeb0: try /nick gabe
23:05
Bertl
then try /whois Bertl
23:05
ApertusWeb0
changed nick to: gabe2
23:05
gabe2
ok great
23:05
gabe2
I haven't used IRC in many years!
23:06
gabe2
I was just going to try and get everything setup to boot off tftp
23:06
Bertl
http://www.irchelp.org/irchelp/irctutorial.html
23:06
Bertl
excellent! and how is your progress/status?
23:07
gabe2
literally just getting started
23:07
gabe2
I had a question though
23:07
gabe2
are you using the linux install on the SD card that came with the Zedboard?
23:07
Bertl
no, but I started with it
23:07
Bertl
we have switched to our own images by now
23:08
gabe2
ok
23:08
gabe2
yeah because I noticed on the wiki "Connect the Zedboard via Ethernet and have a DHCP/BOOTP and TFTP server running somewhere on the network. "
23:08
gabe2
which made me assume some sort of linux build on there already
23:08
gabe2
so I should probably get the latest image to load onto the SD Card
23:08
Bertl
the bootp/dhcp and tftp have to run on some kind of server/pc
23:09
Bertl
do not forget, you want to boot the zedboard via tftp, so it has to boot from some kind of server
23:09
gabe2
right
23:09
Bertl
can be identical to the 'development' machine or can be a separate unit
23:09
gabe2
I assume the dhcp connection can come from my router though?
23:10
Bertl
sure, as long as it hands out IPs and tftp servers to the bootloader it's fine
23:13
gabe2
so after the zedboard gets an ip from the router with DHCP the bootloader requests the ip of the tftp server from the router? I plan on setting up tftp on my ubuntu development box
23:13
Bertl
the zedboard's bootloader (u-boot) uses bootp to request the IP, which is handled by most dhcp servers (if configured properly)
23:14
Bertl
and yes, it then takes the information returned to request scripts and images via tftp
23:15
gabe2
ok. I'll have to look into my router settings about telling it the ip of the tftp server
23:16
gabe2
i'll have to see if it supports that
23:16
Bertl
the first step probably is to update the bootloader with the boot.bin on the wiki
23:17
Bertl
it will then send out the bootp requests automatically which should help you to test and configure the router
23:17
Bertl
http://vserver.13thfloor.at/Stuff/AXIOM/TFTP/boot.bin
23:17
Bertl
(this is the latest boot.bin atm)
23:18
gabe2
ok. i'll do that now
23:19
Bertl
dmj_nova1: promised me to put the 'reset environment' commands somewhere on the wiki, but I don't see them there, so give me a minute to dig them out
23:21
gabe2
ok thanks
23:21
Bertl
you just need to interrupt the autoboot, and issue:
23:21
Bertl
env default -f
23:21
Bertl
saveenv
23:21
Bertl
reset
23:22
Bertl
that should configure u-boot properly after boot.bin was updated
23:23
gabe2
can I use any standard image writing software to write the boot.bin to the sdk card?
23:24
Bertl
it's a file not an image actually, so just copy it there (and remove the existing one)
23:24
Bertl
this presumes that you have an SD card to boot from
23:24
gabe2
ah. ok yeah I just realized when I plugged it in that it's a file
23:42
gabe2
so after I update the boot.bin, if I power up the zedboard do I have to re-issue those commands every time I start it up?
23:42
Bertl
no, just the first time, the environment is stored in the board
23:43
gabe2
ok. looks like it might be working
23:44
gabe2
I have the zed-boot prompt
23:44
Bertl
okay, if you do not interrupt the boot (after powering up the board) it will automatically continue with bootp and tftp
23:48
gabe2
ok. what's the easiest way to check if it got an ip from the router? it appears I can't use usual linux commands like ifconfig
23:48
Bertl
not at the bootloader ... at this point, there is no linux/kernel running
23:50
Bertl
the first line you should look out for (in u-boot) is this one:
23:50
Bertl
Requesting Boot Script via TFTP...
23:50
Bertl
well, actually you get another one earlier:
23:50
Bertl
Scripted Boot via TFTP...
23:51
Bertl
(both will tell you that your boot.bin is up-to-date and working as expected)
23:52
Bertl
after that, you get a short delay (phy reset and auto negotiation)
23:52
Bertl
then something like this:
23:52
Bertl
Link is now at 1000Mbps!
23:52
Bertl
BOOTP broadcast 1
23:52
Bertl
..
23:52
gabe2
okay. yes I see that now
23:52
Bertl
if that goes right, there should follow a line like this:
23:52
gabe2
after typing the "reset" command to see it cleanly
23:52
Bertl
TFTP from server 192.168.2.1; our IP address is 192.168.2.88
23:53
Bertl
(with your IPs of course)
23:53
gabe2
ok. yeah I'm installing the TFTP server in Ubuntu right now
23:54
gabe2
will their be an indication if it got an ip address but no IP for the TFTP server? it says the link is at 100 mbps and it keeps trying the broadcast, with no indication if it got an IP
23:55
Bertl
as long as you get BOOTP lines, there is no adequate answer from a bootp server
23:55
gabe2
ok
23:56
Bertl
if your router doesn't answer to them, I wouldn't bother configuring it, just install dhcpd on your linux devel machine and provide bootp from that one
23:56
gabe2
yeah, that sounds good
23:56
Bertl
i.e. the router won't be in the way and you can configure your own private network between linux devbox and zedboard
23:57
Bertl
maybe even use a GBit network card/port on your machine as the zedboard has gigabit
23:58
jucar2
left the channel
23:58
jucar1
joined the channel
00:01
gabe2
if I connect them directly I think I'd have to use a cross-over cable. Not sure if I have one handy. I might have a switch around I could use.
00:01
Bertl
nah, shouldn't be a problem
00:03
Bertl
(gigabit ethernet phys basically all have auto crossover)
00:10
gabe2
good to know
00:38
gabe2
it's taking a bit of time to get this setup :) I'm adding the ethernet port from my computer to virtual box (only the wifi was routed as eth0)
00:39
Bertl
hmm, how does virtual box come into play?
00:39
gabe2
i'm running Ubuntu on my mac
00:39
Bertl
ah, okay :)
00:39
gabe2
that's why there's some instructions on it on the wiki
00:46
jucar1
left the channel
00:46
jucar1
joined the channel
00:50
gabe2
left the channel
00:51
ApertusWeb1
joined the channel
00:51
ApertusWeb1
changed nick to: gabe2
00:56
gabe2
left the channel
00:57
ApertusWeb0
joined the channel
00:57
ApertusWeb0
changed nick to: gabe2
01:16
gabe2
have you used the ISC DHCP server?
01:16
Bertl
yes
01:17
gabe2
do you have to enter the mac address for the zedboard ethernet? the examples I see indicate that
01:17
gabe2
to get bootp to work
01:17
Bertl
yes
01:17
Bertl
you get that in the logs once your dhcpd is listening
01:18
Bertl
(i.e. as mac blabla requesting ...)
01:18
Bertl
you basically do not want to open the dhcpd for other addresses, as it will compete with your router :)
01:19
gabe2
that makes sense
01:20
gabe2
so my config should have an entry something like this: host router { hardware ethernet 08:00:2b:4c:59:23; fixed-address 192.168.0.21; filename "ZED"; }
01:20
gabe2
where the ZED folder is in my tftp folder
01:21
Bertl
filename "/ZED/u-boot.scr"
01:21
gabe2
ok
01:21
Bertl
and the mac will be more like this: 00:0A:35:00:01:22
01:21
Bertl
you also want to specify a 'next-server' which is the TFTP server
01:34
gabe2
left the channel
01:37
jucar2
joined the channel
01:38
jucar1
left the channel
01:49
ApertusWeb4
joined the channel
01:49
ApertusWeb4
changed nick to: gabe2
01:52
gabe2
I was able to resolve the tftp file not found issue. i'm a bit further, but I'll have to resume later. right now it states "a panic occurred, switching back to text console"
01:52
gabe2
if I can't figure it out later I'll save the stack trace and see if you have any ideas
01:52
Bertl
well, sounds good, I presume the panic happens in the booted linux kernel, yes?
01:55
gabe2
yes
01:56
Bertl
so maybe you are booting with the wrong device tree, in any case, the tftp boot part should be fine if you get that far
01:56
gabe2
it starts loading a lot of things like USB Mass Storage driver, linux video capture, sdhci, mmc0, etc.
01:57
Bertl
just upload the entire bootup log when you find the time and let me know (pastebin)
01:57
Bertl
I'll take a look when I'm around and probably can tell you what goes wrong
01:57
gabe2
great thanks. I appreciate all the help!
01:58
Bertl
you're welcome!
01:58
gabe2
I'm using the ZED.zip from here: https://github.com/apertus-open-source-cinema/alpha-hardware/tree/master/Zedboard-Files/TFTP-booting
01:58
gabe2
I presume that's the one I should be using
01:58
Bertl
might already be a little outdated, but it should boot
02:01
gabe2
ok. I'll send you a log file. talk to you later. Thanks again!
02:01
gabe2
left the channel
03:01
jucar2
left the channel
03:01
jucar1
joined the channel
03:11
jucar2
joined the channel
03:11
jucar1
left the channel
03:39
jucar1
joined the channel
03:39
jucar2
left the channel
04:56
jucar1
left the channel
04:56
jucar1
joined the channel
05:16
jucar2
joined the channel
05:17
jucar1
left the channel
05:21
jucar1
joined the channel
05:22
jucar2
left the channel
05:49
jucar1
left the channel
05:49
jucar1
joined the channel
06:21
jucar2
joined the channel
06:22
jucar1
left the channel
06:33
jucar2
left the channel
06:34
jucar1
joined the channel
06:45
jucar1
left the channel
07:00
jucar1
joined the channel
07:45
se6astian
joined the channel
08:16
jucar2
joined the channel
08:17
jucar1
left the channel
08:24
jucar2
left the channel
08:24
jucar1
joined the channel
08:29
jucar1
left the channel
08:47
jucar1
joined the channel
09:28
jucar2
joined the channel
09:29
jucar1
left the channel
09:36
jucar2
left the channel
09:36
jucar1
joined the channel
10:39
jucar1
left the channel
10:39
jucar2
joined the channel
11:37
Bertl
morning everyone!
11:39
se6astian
hello!
12:02
jucar1
joined the channel
12:03
jucar2
left the channel
12:17
jucar1
left the channel
12:34
jucar1
joined the channel
13:03
se6astian
need to go to the supermarket
13:03
se6astian
bbs
13:54
jucar2
joined the channel
13:57
jucar1
left the channel
14:18
se6astian
back
15:01
jucar1
joined the channel
15:03
jucar2
left the channel
15:20
jucar1
left the channel
15:37
jucar1
joined the channel
15:44
jucar1
left the channel
15:58
jucar1
joined the channel
16:49
jucar2
joined the channel
16:50
jucar1
left the channel
17:01
jucar2
left the channel
17:02
jucar1
joined the channel
17:04
jucar1
left the channel
17:11
se6astian
left the channel
17:22
jucar1
joined the channel
17:48
jucar1
left the channel
17:48
jucar2
joined the channel
17:58
se6astian
joined the channel
18:04
jucar2
left the channel
18:18
jucar1
joined the channel
19:31
jucar1
left the channel
19:47
jucar1
joined the channel
20:00
jucar2
joined the channel
20:00
jucar1
left the channel
20:07
jucar2
left the channel
20:07
jucar1
joined the channel
21:00
se6astian
left the channel
21:05
Bertl
dmj_nova1: hmm, not sure I already mentioned it, but the PMOD debug is now shared on OSHPARK, so on http://oshpark.com/shared_projects/page/3 you should find it after a search for apertus (or on the next page)
21:06
Bertl
ah, here seems to be a permanent link: http://oshpark.com/shared_projects/OhXV1RwT
21:06
Bertl
if you still want to try to solder it yourself, simply order a pack and let me know, I send you the details for the parts
21:31
jucar1
left the channel
21:47
jucar1
joined the channel
22:28
jucar2
joined the channel
22:29
jucar1
left the channel
22:40
jucar2
left the channel
22:55
jucar1
joined the channel