dustyhair

Members
  • Content count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About dustyhair

  • Rank
    Newbie

Profile Information

  • Gender
    Male
  1. dustyhair

    Custom Bootloader Integration

    Not replacing the bootloader.vhd properly was the issue. I get the ZPUINO now when i reset. Yes i have the PPRo Thanks for your help
  2. dustyhair

    Custom Bootloader Integration

    there doesnt apear to be any errors it says needs to map 16k words but but it doesnt complain about it. sudo make -C bootloader BOARD=PAPILIO_PRO SIZE=16384 DEFINES="-DBOARD_ID=0xA5041700 -DBOARD_MEMORYSIZE=0x800000 -DZPU20 -DZPUINO_HAS_ICACHE"make: Entering directory `/home/jawagner/Desktop/ZPUino-HDL/zpu/hdl/zpuino/bootloader'/usr/local/zpu-toolchain/bin/zpu-elf-g++ -O2 -fno-gcse -Wall -mno-callpcrel -fdata-sections -fno-reorder-blocks -fno-reorder-blocks-and-partition -fno-prefetch-loop-arrays -ffunction-sections -I../common -D__ZPUINO_PAPILIO_PRO__ -DBOARD_ID=0xA5041700 -DBOARD_MEMORYSIZE=0x800000 -DZPU20 -DZPUINO_HAS_ICACHE -fno-exceptions -c -o boot.o boot.cppboot.cpp: In function `unsigned int inbyte()':boot.cpp:177: warning: comparison between signed and unsigned integer expressions/usr/local/zpu-toolchain/bin/zpu-elf-gcc -O2 -fno-gcse -Wall -mno-callpcrel -fdata-sections -fno-reorder-blocks -fno-reorder-blocks-and-partition -fno-prefetch-loop-arrays -ffunction-sections -I../common -D__ZPUINO_PAPILIO_PRO__ -DBOARD_ID=0xA5041700 -DBOARD_MEMORYSIZE=0x800000 -DZPU20 -DZPUINO_HAS_ICACHE -c -o boot-c.o boot-c.cIn file included from boot-c.c:2:../common/zpuino.h: In function `modeRegisterForPin':../common/zpuino.h:15: warning: suggest parentheses around + or - inside shift../common/zpuino.h: In function `PPSmodeRegisterForPin':../common/zpuino.h:20: warning: suggest parentheses around + or - inside shiftboot-c.c: At top level:boot-c.c:29: warning: '__copy_data' defined but not used/usr/local/zpu-toolchain/bin/zpu-elf-gcc -D__ZPUINO_PAPILIO_PRO__ -DBOARD_ID=0xA5041700 -DBOARD_MEMORYSIZE=0x800000 -DZPU20 -DZPUINO_HAS_ICACHE -DASSEMBLY -I../common -c -o boot-s.o boot-s.Sboot-s.S:49:5: warning: no newline at end of file/usr/local/zpu-toolchain/bin/zpu-elf-g++ boot.o boot-c.o boot-s.o loader.o -o bootloader.elf -O2 -Wl,-T -Wl,zpuelf.lds -Wl,--relax -Wl,--gc-sections /usr/local/zpu-toolchain/bin/zpu-elf-objdump -D bootloader.elf > bootloader.s/usr/local/zpu-toolchain/bin/zpu-elf-objcopy -O binary bootloader.elf bootloader.bin/usr/local/zpu-toolchain/bin/zpu-elf-objcopy -O ihex bootloader.elf bootloader.hexperl ../gen-prom-generic-dualport_32.pl bootloader.bin 16384 > prom-generic-dp-32.vhd || rm -f prom-generic-dp-32.vhd Infile is not aligned, fixing....Padded with 20 zeroes.Need to map 16384 wordsNeed 14 bits for addressperl ../gen-prom-generic-dualport-simple_32.pl bootloader.bin 4096 bootloader_dp_32 > bootloader.vhd || rm -f bootloader.vhd Need to map 4096 wordsNeed 12 bits for address/usr/local/zpu-toolchain/bin/zpu-elf-g++ -O2 -fno-gcse -Wall -mno-callpcrel -fdata-sections -fno-reorder-blocks -fno-reorder-blocks-and-partition -fno-prefetch-loop-arrays -ffunction-sections -I../common -D__ZPUINO_PAPILIO_PRO__ -DBOARD_ID=0xA5041700 -DBOARD_MEMORYSIZE=0x800000 -DZPU20 -DZPUINO_HAS_ICACHE -fno-exceptions -S boot.cpp -o bootloader.Sboot.cpp: In function `unsigned int inbyte()':boot.cpp:177: warning: comparison between signed and unsigned integer expressionsmake: Leaving directory `/home/jawagner/Desktop/ZPUino-HDL/zpu/hdl/zpuino/bootloader'Break command sets LED1 to solid green but no output on the serial like a halted state or something. So if it only maps 4k then it crashes basically? Is there a way to get debug serial to work or is that something thats still beta because of the size issue and i should just disable debugging and go with verbose to see the change
  3. dustyhair

    Custom Bootloader Integration

    Ah, I am still having some confusing trouble. For information i am using the LX9 variant. it appears that the bootloader does generate successfully and I move the "prom-generic-dp-32.vhd" and regernate the bit file which does build successfully or i should say without errors. I do get two different warnings for parity pin DOPB0.WARNING:PhysDesignRules:1176 - Issue with pin connections and/or configuration on block:<zpuino/core/cache/cachemem/Mram_RAM3>:<RAMB16BWER_RAMB16BWER>. The block is configured to use input parity pin DIBP0. There is dangling output for parity pin DOPB0.WARNING:PhysDesignRules:2410 - This design is using one or more 9K Block RAMs (RAMB8BWER). 9K Block RAM initialization data, both user defined and default, may be incorrect and should not be used. For more information, please reference Xilinx Answer Record 39999.These warnings seem irrelavent to the issue im experiencing, But regardless it still builds. I can upload it to the platform and successfully load a bit file but when i connect and expect to see debug loading information from the bootloader on the serial I don't see anything until the sketch starts.
  4. dustyhair

    Custom Bootloader Integration

    Ah! Thank you I didn't notice the gen-prom-generic-dualport_32.pl script function. That should give me a boost until the next head scratcher BTW Alvie, are you still working on the linux port for ZPUino? I have read all your blog posts about it but all the information I've seen on it is over a year old.
  5. dustyhair

    Custom Bootloader Integration

    Hello, I was wondering if anyone could point me in the right direction on a problem I am having. I am trying to understand the ZPUino system and I want to make a customized core for my project so I am trying to just figure out how the whole project source fits together. I can compile a with whatever core changes I intend on making bit successfully. There is a bootloader section in the repository which has debug and verbose options. I am attempting to just enable verbose options as an exercise in understanding how all the pieces fit together. I can build the bootloader code successfully I have searched but I cant seem to find any information on how to integrate a custom bootloader with a custom core. In a previous post i read that the ZPUino doesnt use a bmm file so how do you integrate the bit with the hex of the bootloader. Could anyone point me in the right direction. Thanks