05:03 | jucar1 | joined the channel | |
05:04 | jucar | left the channel | |
07:41 | dmj_nova | left the channel | |
07:56 | dmj_nova | joined the channel | |
11:10 | Bertl | morning everyone!
| |
11:15 | dmj_nova | morning Bertl
| |
11:21 | Bertl | how's going with the zedboard?
| |
11:26 | dmj_nova | got a bit distracted after the download finished
| |
11:26 | dmj_nova | though my novel now includes a scene about ubuntu
| |
11:29 | Bertl | :)
| |
11:29 | dmj_nova | strangely enough it's actually about both kinds of ubuntu at the same time
| |
11:30 | dmj_nova | also trying to cross the road
| |
11:30 | dmj_nova | during a zombie apocalypse
| |
11:30 | dmj_nova | okay, I'm a nerdy writer
| |
11:31 | dmj_nova | btw, what's the issue with the whole arm toolchain stuff?
| |
11:33 | Bertl | ist there an issue?
| |
11:33 | dmj_nova | "2) Work around for arm toolchain install: sudo dpkg-reconfigure -plow dash (Select NO when prompted) "
| |
11:34 | dmj_nova | just wanted to learn what that bit is about so I understand it better
| |
11:34 | Bertl | I didn't do that, I simply installed a toolchain package (rpm)
| |
11:34 | Bertl | but alternatively you could simply use 'summon_arm_toolchain' (or what it is called) on debian/ubuntu
| |
11:35 | Bertl | ah, this is what is suggested for ubuntu: https://launchpad.net/gcc-arm-embedded
| |
11:37 | Bertl | but to answer the question, the few commands you mention above suggest that you remove dash as shell to make some scripts work which probably presume bash syntax
| |
11:38 | Bertl | (or the other way round)
| |
11:39 | Bertl | http://lwn.net/Articles/343924/
| |
11:41 | dmj_nova | actually that toolchain doesn't look right
| |
11:41 | Bertl | which one, and in what way?
| |
11:42 | dmj_nova | talks about M- and R- processors, but not A-
| |
11:43 | Bertl | I'd say they are just mentioning the ongoing effords
| |
11:44 | Bertl | any arm*eabi should do at least to get started
| |
11:44 | Bertl | but you can easily check the supported types once you installed it
| |
11:47 | dmj_nova | hmm...maybe I don't have to do anything special
| |
11:47 | dmj_nova | since I should already have quite recent gcc
| |
11:47 | Bertl | you need a cross compiler for arm, that's it
| |
11:47 | dmj_nova | whereas I think that gcc-arm-embedded might be basically backports to old ubuntu
| |
11:48 | Bertl | (on the x86 host), and a native arm toolchain on the target (if you want to compile there)
| |
11:48 | Bertl | so, if you already have arm-*gcc, no need to install a toolchain
| |
11:50 | Bertl | sidenote: you do not need any libraries, just binutils and gcc for building u-boot, linux kernel and bare metal stuff, but you will need a (g/u/new)lib(c) for userspace stuff like busybox
| |
11:51 | dmj_nova | boom, figured that out I think
| |
12:28 | dmj_nova | ugh, EULAs
| |
12:36 | Bertl | another reason to avoid GUI's with limited licenses
| |
12:37 | Bertl | -'
| |
12:43 | dmj_nova | Bertl: yeah, though this ISE thing seems to require it
| |
12:44 | Bertl | yeah, unfortunately all FPGA related tools do ...
| |
12:46 | dmj_nova | and they're *huge*
| |
12:46 | Bertl | yes, but that's mostly due to the inefficiently coded GUI stuff
| |
12:47 | dmj_nova | Admittedly, this tool is in fact smaller than the entire Ubuntu archives.
| |
12:47 | Bertl | lot of fancy images for each architecture, etc
| |
12:53 | dmj_nova | also trying to figure out just what this "ISE Design Suite" "voucher" that came in the box is for
| |
12:53 | Bertl | you don't need it for the WebPack edition
| |
12:54 | dmj_nova | the weird thing is it appears to be *for* the webpack edition
| |
12:54 | Bertl | but you can get some kind of product locked down license with that
| |
12:57 | Bertl | ah, the voucher seems to be for ChipScope?
| |
13:49 | jucar1 | changed nick to: jucar
| |
17:39 | s3bastian | joined the channel | |
17:40 | Bertl | welcome s3bastian!
| |
17:47 | s3bastian | hello!
| |
17:47 | s3bastian | I am doing a paramedic nightshift today, so I may have to leave on short notice ;)
| |
17:48 | s3bastian | I am just adding the TFTP booting method to the wiki
| |
17:48 | Bertl | I updated the TFTP stuff
| |
17:48 | s3bastian | ah even better ;)
| |
17:49 | s3bastian | then let me save what I have so far and then let me know whats new
| |
17:50 | Bertl | there is a new boot.bin, which uses an updated custom build of u-boot which is now able to boot old and new kernels
| |
17:50 | s3bastian | done: https://wiki.apertus.org/index.php?title=Axiom_Alpha#Booting_the_Zedboard_via_TFTP
| |
17:50 | Bertl | I also updated the autoboot script to handle this
| |
17:50 | s3bastian | sounds great, can you upload the files to the wiki?
| |
17:51 | Bertl | I'd prefer if you can do that, I'll paste the urls
| |
17:51 | Bertl | http://vserver.13thfloor.at/Stuff/AXIOM/TFTP/boot.bin
| |
17:51 | Bertl | this is the boot.bin which goes as BOOT.BIN to the SD or FLASH
| |
17:51 | Bertl | you also want to copy the 'ZED' folder to your tftp server
| |
17:52 | Bertl | and typically you link the parts in the same dir like this:
| |
17:52 | Bertl | system.bin -> ZedBoard_OOB_Design/system.bin
| |
17:52 | Bertl | ramdisk.image.gz -> ZedBoard_OOB_Design/ramdisk8M.image.gz
| |
17:52 | s3bastian | ok I am on it
| |
17:53 | Bertl | devicetree_ramdisk.dtb -> ZedBoard_OOB_Design/devicetree_ramdisk.dtb
| |
17:53 | Bertl | zImage -> ZedBoard_OOB_Design/zImage
| |
17:53 | Bertl | then autoboot (from boot.bin) will first request an IP via bootp
| |
17:53 | Bertl | then request the file ZED/u-boot.scr (the script)
| |
17:54 | Bertl | then execute that script, which contains:
| |
17:54 | Bertl | tftp 0x1000000 ZED/system.bin
| |
17:54 | Bertl | fpga load 0 0x${fileaddr} 0x${filesize}
| |
17:54 | Bertl | tftp 0x8000 ZED/zImage
| |
17:54 | Bertl | tftp 0x1000000 ZED/devicetree_ramdisk.dtb
| |
17:54 | Bertl | tftp 0x800000 ZED/ramdisk.image.gz
| |
17:54 | Bertl | bootz 0x8000 0x${fileaddr}:0x${filesize} 0x1000000
| |
17:54 | Bertl | go 0x8000so it first fetches the PL code and uploads it to the FPGA
| |
17:54 | Bertl | then it requests the kernel, devicetree and initrd
| |
17:55 | Bertl | then it tries to boot the new style (which should fail with an old kernel) ... I still have to test that
| |
17:55 | Bertl | and if that fails, it executes the old style
| |
17:55 | Bertl | (I'll verify that in a minute)
| |
17:56 | Bertl | otherwise we simply need two boot scripts
| |
17:56 | s3bastian | The 'ZED' folder do I get from where?
| |
17:56 | Bertl | http://vserver.13thfloor.at/Stuff/AXIOM/TFTP/ZED/
| |
17:57 | Bertl | the u-boot.scr inside the ZED folder is the old one, it definitely works with the old kernels
| |
17:59 | s3bastian | great, packing it all into an archive
| |
18:00 | Bertl | yeah, the script works with the old kernels as well
| |
18:00 | Bertl | boot time from power on till linux prompt is 29 seconds
| |
18:01 | Bertl | 5 seconds till boot.bin is booted, 3 seconds wait to interrupt the bootloader, 3 seconds kernel boot, rest is bootp/tftp and stuff
| |
18:03 | Bertl | off for dinner, back later ...
| |
19:30 | Bertl | back now ...
|