Inserting DMA causes Petalinux not to boot

Hello,
I'm experiencing a problem whenever I try to insert an AXI DMA IP into a Vivado Project: the resulting hdf, when applied to a petalinux project, inhibits the kernel from booting. All I see is a message ("Linux Kernel Starting...") and the system hangs.
I've noticed that commenting, in the pl.dtsi geneated devicetree file, the following lines which relate to the Axi DMA, the kernel boots without any issue.
axi_dma_0: dma@40400000 {
compatible = "xlnx,axi-dma";
reg = <0x40400000 0x10000>;
dma-channel@40400000 {
compatible = "xlnx,axi-dma-mm2s-channel";
xlnx,datawidth = <0x20>;
xlnx,device-id = <0x0>; };
dma-channel@40400030 {
compatible = "xlnx,axi-dma-s2mm-channel";
xlnx,datawidth = <0x20>;
xlnx,device-id = <0x0>;
Anyone has overcome this issue?

Yes, I loaded the PL correctly: I inserted a flickering LED connected to the clock to check that the Programmable Logic bitstream was correctly loaded. I think the problem must be somewhere else. PS: even trying to boot the QEMU emulator leads to the boot sequence hanging, and as soon as the DMA is removed from my PL it boots properly. I've also tried with a VDMA and it also boots without any issue.
Giorgio

Similar Messages

  • Power outage caused laptop not to boot anymore

    I had my hp Pavillion dv9000 connected directly to the wall without the battery inside and was watching a movie. The power outlet suddenly died and consecquently my laptop turned off. Now when I try to turn it on, the fan runs but nothing shows up on the screen; not even the hp logo or BIOS. I noticed that the hard drive access LED never lit up so I assume it wasn't just the screen that broke but something is causing the whole computer not to boot up at all. Most likely something got fried but I'm not sure what. It's a shame because I really liked that laptop and would like to repair it if possible. Does anyone have any suggestion?

    Hello NTHQ,
    Sorry to hear you are having trouble with your HP notebook powering on.
    I have looked for information on your system and I do have a suggestion for you that might be helpful.
    You should check and see if you are getting a blink code from the caps lock and num lock keys.
    Here is a link explaining the blink codes.
    Can you provide your full model and product number?  Here is a link showing how to find that information.
    Let me know what happens.
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • New 6534 pattern generator causes computer not to boot

    We have a brand new 6534 pxi pattern generator. When we plug the card in the computer does not boot at all. As in nothing appears on the screen and only the fans in the chassis turn on. We have a PXI 1010 chassis with 2 other cards inside. I also tried it on another computer with an external pxi bus and the same thing happpened. Is the card blown or are we missing something?

    Sounds blown!
    Call NI and talk to tech support to get an RMA.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • I try to insert some images on a website but the images are not in the right color mode. I do not know what to do? and also I have 1200 images to insert so I can not change one after one. So I need to set up an action, but I donot know how to do it... Tha

    I try to insert some images on a website but the images are not in the right color mode. I do not know what to do? and also I have 1200 images to insert so I can not change one after one. So I need to set up an action, but I donot know how to do it... Thanks

    What is the problem specifiaclly?
    If the images are intended for web use I would recommend converting them to sRGB which could be done with Edit > Convert to Profile or with File > Save for Web, but as including a Save step in Actions and applying them as Batch can sometimes cause problems I would go with regular converting.
    You could also try Image Processor Pro.
    Scripts Page

  • My mac book pro will not fully boot up. I have the grey background with the apple sign and the timer going round...but 20 minutes later still no desktop

    My mac book pro will not fully boot up. I have the grey background with the apple sign and the timer going round...but 20 minutes later still no desktop

    You could try doing a hard shut down (holding the power button or yanking the battery) and then doing a safe boot by holding the shift key at startup:
    http://support.apple.com/kb/HT1455
    Also, not sure if this applies in your case, but I've had that happen when there's a USB drive inserted either in the computer or a connected external keyboard.  I did a hard shut down, removed the drive and it went through a normal start up. 

  • {Solved} Can not successfully boot into systemd

    I will first start off by saying I have read though the following threads:
    https://bbs.archlinux.org/viewtopic.php?id=151633
    https://bbs.archlinux.org/viewtopic.php?id=151885
    And have tried to follow the Systemd wiki.  I started out by switching to the new initscripts configuration system.  I have the current systemd package installed.  I then installed systemd-sysvcompat which of course had me remove sysvinit.  I then removed initscripts which moved my rc.conf to rc.conf.pacsave.
    I had to manually create /etc/hostname, /etc/locale.conf, and /etc/vconsole.conf as (mentioned in a previous post) I could not do with any "ctl" commands as I had not yet booted into a systemd setup.
    This also caused an issue with trying to set up the timezone as:
    # timedatectl set-timezone America/New_York
    resulted in:
    Failed to issue method call: Launch helper exited with unknown return code 1
    So at this point I decided to try a reboot and I get:
    Welcome to emergency mode! Type "systemctl defualt" or ^D to enter default mode.
    Type "journelctl -b" to view system logs. Type "systemctl reboot" to reboot.
    Give root password for maintenance
    (or typed Control-D to continue): [ 71.520184] radeon_cp: Failed to load firmware
    "radeon/R300_cp.bin"
    [ 71.520205] [drm:r100_cp_init] *ERROR* failed to load firmware!
    [ 71.520224] radeon 0000:01:05.0: failed initializing CP (-2)
    [ 71.520237] radeon 0000:01:05.0: Disabling GPU acceleration
    I entered emergency mode which brought me to the root terminal.  I first attempted to mv rc.conf.pacnew to rc.conf expecting there to possibly be an issue with the daemons I had running or attempted to run but after reboot I got the same thing.  Not sure what is going on with the radeon firmware because it's obviously there.
    So I re-imaged the hard drive and decided to try again.  This time I installed systemd-sysvcompat (removing sysvinit) and DID NOT remove initscripts.  I rebooted and got the exact same thing as above. So at this point I am at a loss of ideas with moving forward.  Why is systemd-sysvcompat causing the failure of the radeon firmware to load? I use Arch on my laptop, desktop as well as my server.  Systemd is coming so I am trying with the laptop first to convert to pure systemd.  If I am just missing a step please let me know and I appologize for posting.  But hopefully others have run into this issue and could possibly give me a nudge in the right direction.  It could be I am reading the wiki wrong or just not interpreting it correctly.
    Thanks in advance for your guidance and assistance,
    All the best,
    Ian
    Last edited by ichase (2012-11-16 16:55:10)

    hiciu,
    Here is what you requested taken from emergency mode:
    /etc/mkinitcpio.conf
    # vim:set ft=sh
    # MODULES
    # The following modules are loaded before any boot hooks are
    # run. Advanced users may wish to specify all system modules
    # in this array. For instance:
    # MODULES="piix ide_disk reiserfs"
    MODULES=""
    # BINARIES
    # This setting includes any additional binaries a given user may
    # wish into the CPIO image. This is run last, so it may be used to
    # override the actual binaries included by a given hook
    # BINARIES are dependency parsed, so you may safely ignore libraries
    BINARIES=""
    # FILES
    # This setting is similar to BINARIES above, however, files are added
    # as-is and are not parsed in any way. This is useful for config files.
    # Some users may wish to include modprobe.conf for custom module options
    # like so:
    # FILES="/etc/modprobe.d/modprobe.conf"
    FILES=""
    # HOOKS
    # This is the most important setting in this file. The HOOKS control the
    # modules and scripts added to the image, and what happens at boot time.
    # Order is important, and it is recommended that you do not change the
    # order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
    # help on a given hook.
    # 'base' is _required_ unless you know precisely what you are doing.
    # 'udev' is _required_ in order to automatically load modules
    # 'filesystems' is _required_ unless you specify your fs modules in MODULES
    # Examples:
    ## This setup specifies all modules in the MODULES setting above.
    ## No raid, lvm2, or encrypted root is needed.
    # HOOKS="base"
    ## This setup will autodetect all modules for your system and should
    ## work as a sane default
    # HOOKS="base udev autodetect pata scsi sata filesystems"
    ## This is identical to the above, except the old ide subsystem is
    ## used for IDE devices instead of the new pata subsystem.
    # HOOKS="base udev autodetect ide scsi sata filesystems"
    ## This setup will generate a 'full' image which supports most systems.
    ## No autodetection is done.
    # HOOKS="base udev pata scsi sata usb filesystems"
    ## This setup assembles a pata mdadm array with an encrypted root FS.
    ## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
    # HOOKS="base udev pata mdadm encrypt filesystems"
    ## This setup loads an lvm2 volume group on a usb device.
    # HOOKS="base udev usb lvm2 filesystems"
    ## NOTE: If you have /usr on a separate partition, you MUST include the
    # usr, fsck and shutdown hooks.
    HOOKS="base udev autodetect pata scsi sata filesystems usbinput fsck"
    # COMPRESSION
    # Use this to compress the initramfs image. By default, gzip compression
    # is used. Use 'cat' to create an uncompressed image.
    #COMPRESSION="gzip"
    #COMPRESSION="bzip2"
    #COMPRESSION="lzma"
    #COMPRESSION="xz"
    #COMPRESSION="lzop"
    # COMPRESSION_OPTIONS
    # Additional options for the compressor
    #COMPRESSION_OPTIONS=""
    The next items due to length are linked to pastebin;
    bsdtar -t -f /boot/initramfs-linux.img
    http://pastebin.com/cZEJHVHm
    dmesg
    http://pastebin.com/MUGs1e9H
    journalctl -b
    http://pastebin.com/xgbfVJP8
    This is a lot to look at so do know that I am very appreciative of you and any one else looking at these files taking your time to help me with this issue.
    All the best,
    Ian
    Edit:  I also wanted to mention that I was able to get rid of the syslog-ng errors previously mentioned by performing:
    systemctl enable syslog-ng.service
    Then rebooting.  Granted I was still put back in emergency mode but was able to fix one issue.
    Last edited by ichase (2012-11-16 03:33:41)

  • How to check if row to be inserted will cause circular circular loop?

    Hi-
    I'm using connect by clause to do some processing and to check that the data is not causing circular loops (with SQLCODE = -1436).
    Customers can add data via API, and this data, after inserted, can cause the problem explained above (loop). Therefore I need to find a way to check that these new values don't collide with the existing data in the table.
    One way that currently works is to insert the data, use my pl/sql function to check that there's no loops; if there's a loop, i catch the exception, delete the rows I just inserted, and throw back the error to the user.
    I find it very ugly and unneficient, but I can't find the way to use CONNECT BY with data that is not present in the table. example:
    table my_table contains
    parent_id | child_id
    111 | 777
    777 | 333
    and now customer wants to insert:
    parent_id | child_id
    777 | 111
    Also, if customer wants to insert
    333 | 111
    if I insert the row and run my script, it will work OK, but only if I insert the row. Is there any way to validate this without inserting/removing the row ?
    the script I'm using is similar to the one posted here:
    problems using CONNECT BY
    thanks

    This approach may fail to detect loops introduced by concurrent transactions if one of the transaction uses a serializable isolation level.
    For example, assume there are two sessions (A and B), the table and trigger have been created, and the table is empty. Consider the following scenario.
    First, session A starts a transaction with serializable isolation level:
    A> SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;
    Transaction set.Next, session B inserts a row and commits:
    B> INSERT INTO my_table (parent_id, child_id) VALUES (111, 777);
    1 row created.
    B> COMMIT;
    Commit complete.Now, session A successfully inserts a conflicting row and commits:
    A> INSERT INTO my_table (parent_id, child_id) VALUES (777, 111);
    1 row created.
    A> COMMIT;
    Commit complete.
    A> SELECT * FROM MY_TABLE;
    PARENT_ID  CHILD_ID
          111       777
          777       111Session A "sees" the table "as of" a point in time before session B inserted. Also, once session B commits, the lock it acquired is released.
    An alternative approach that would prevent this could use SELECT...FOR UPDATE and a "table of locks" like this:
    SQL> DROP TABLE MY_TABLE;
    Table dropped.
    SQL> CREATE TABLE MY_TABLE
      2  (
      3      PARENT_ID NUMBER,
      4      CHILD_ID NUMBER
      5  );
    Table created.
    SQL> CREATE TABLE LOCKS
      2  (
      3      LOCK_ID INTEGER PRIMARY KEY
      4  );
    Table created.
    SQL> INSERT INTO LOCKS(LOCK_ID) VALUES(123);
    1 row created.
    SQL> COMMIT;
    Commit complete.
    SQL> CREATE OR REPLACE TRIGGER MY_TABLE_AI
      2      AFTER INSERT ON my_table
      3  DECLARE
      4      v_count NUMBER;
      5      v_lock_id INTEGER;
      6  BEGIN
      7      SELECT
      8          LOCK_ID
      9      INTO
    10          v_lock_id
    11      FROM
    12          LOCKS
    13      WHERE
    14          LOCKS.LOCK_ID = 123
    15      FOR UPDATE;
    16         
    17      SELECT
    18          COUNT (*)
    19      INTO  
    20          v_count
    21      FROM  
    22          MY_TABLE
    23      CONNECT BY
    24          PRIOR PARENT_ID = CHILD_ID;
    25 
    26  END MY_TABLE_AI;
    27  /
    Trigger created.Now the scenario plays out like this.
    First, session A starts a transaction with serializable isolation level:
    A> SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;
    Transaction set.Next, session B inserts a row and commits:
    B> INSERT INTO my_table (parent_id, child_id) VALUES (111, 777);
    1 row created.
    B> COMMIT;
    Commit complete.Now, when session A tries to insert a conflicting row:
    A> INSERT INTO my_table (parent_id, child_id) VALUES (777, 111);
    INSERT INTO my_table (parent_id, child_id) VALUES (777, 111)
    ERROR at line 1:
    ORA-08177: can't serialize access for this transaction
    ORA-06512: at "TEST.MY_TABLE_AI", line 5
    ORA-04088: error during execution of trigger 'TEST.MY_TABLE_AI'To show that this still handles other cases:
    1. Conflicting inserts in the same transaction:
    SQL> TRUNCATE TABLE MY_TABLE;
    Table truncated.
    SQL> INSERT INTO my_table (parent_id, child_id) VALUES (111, 777);
    1 row created.
    SQL> INSERT INTO my_table (parent_id, child_id) VALUES (777, 111);
    INSERT INTO my_table (parent_id, child_id) VALUES (777, 111)
    ERROR at line 1:
    ORA-01436: CONNECT BY loop in user data
    ORA-06512: at "TEST.MY_TABLE_AI", line 15
    ORA-04088: error during execution of trigger 'TEST.MY_TABLE_AI'2. Read-committed inserts that conflict with previously committed transactions:
    SQL> TRUNCATE TABLE MY_TABLE;
    Table truncated.
    SQL> INSERT INTO my_table (parent_id, child_id) VALUES (111, 777);
    1 row created.
    SQL> COMMIT;
    Commit complete.
    SQL> INSERT INTO my_table (parent_id, child_id) VALUES (777, 111);
    INSERT INTO my_table (parent_id, child_id) VALUES (777, 111)
    ERROR at line 1:
    ORA-01436: CONNECT BY loop in user data
    ORA-06512: at "TEST.MY_TABLE_AI", line 15
    ORA-04088: error during execution of trigger 'TEST.MY_TABLE_AI'3. Conflicting inserts in concurrent, read-committed transactions:
    a) First, empty out the table and start a read-committed transaction in one session (A):
    A> TRUNCATE TABLE MY_TABLE;
    Table truncated.
    A> SET TRANSACTION ISOLATION LEVEL READ COMMITTED;
    Transaction set.b) Now, start a read-committed transaction in another session (B) and insert a row:
    B> SET TRANSACTION ISOLATION LEVEL READ COMMITTED;
    Transaction set.
    B> INSERT INTO my_table (parent_id, child_id) VALUES (111, 777);
    1 row created.c) Now, try to insert a conflicting row in session A:
    A> INSERT INTO my_table (parent_id, child_id) VALUES (777, 111);This is blocked until session B commits, and when it does:
    B> COMMIT;
    Commit complete.the insert in session A fails:
    INSERT INTO my_table (parent_id, child_id) VALUES (777, 111)
    ERROR at line 1:
    ORA-01436: CONNECT BY loop in user data
    ORA-06512: at "TEST.MY_TABLE_AI", line 15
    ORA-04088: error during execution of trigger 'TEST.MY_TABLE_AI'If updates are permitted on the table, then they could cause loops also, but the trigger could be modified to test for this.

  • Can the hard disk named "\" cause it not to load?

    Hello Everyone,
    Machine will not load (G4 12" running 10.4. After it starts, the apple icon appears then the spinning progress wheel, and that is it. It will not finish loading.
    I used Disk Warrior, and drive genius and nothing worked. I booted the computer from the boot up disk utility disk. When the program was running I noticed the hard disk was named "\" which is the back slash symbol. I was wonder if having the hard disk named this could cause the computer not to boot up and if yes, then how do I change the name?
    Thank you.
    Marco

    You may be able to rename it by booting it in Target mode:
    http://docs.info.apple.com/article.html?artnum=58583
    Or booting another Mac and connecting it to that Mac using a hard drive case that supports that drive.

  • With Windows Vista, the most recent Itunes update 1/30/2014 has caused Itunes not to work, with a Mscvr80.dll not found error. Uninstalled all Apple programs, and installed fresh Itunes. Same problem. Tried to reinstall using an older install exe nogo

    Recent ITunes update has caused ITunes not to work. Tried uninstalling all Apple products and reinstalling fresh. Still doesn't work. Tried reinstalling from an old install.exe. Install went nicely but program won't start as it says it can't open the library file.

    Now that I have no way of accessing any of the products I have purchased from ITunes, I will most certainly never use ITunes again for any reason. Why throw good money after bad?  I will use another MP3 player that is not as cumbersome or proprietary.
    Lesson learned.

  • On updating my iphone it shows no network inspite the sim inserted,now it also not working with itunes.i cant see menu page on display screen

    on updating my iphone it shows no network inspite the sim inserted,now it also not working with itunes.
    i cant see menu page on display screen

    http://support.apple.com/kb/HT1808

  • Working in adobe illustrator - computer crashed - will not soft boot or reset PRAM - should i reinstall from CD snow leopard 10.6.3? I have an extra hard drive in my MAC with time machine on it set to do auto back ups. How do i recover ?

    working in adobe illustrator - computer crashed - will not soft boot or reset PRAM - should i reinstall from CD snow leopard 10.6.3? I have an extra hard drive in my MAC with time machine on it set to do auto back ups. How do i recover ?

    Well first you have to figure out what is wrong with the machine and solve that problem first.
    Your post is very vague on what occured, and there are many types of "crashes" it really depends upon what see on the screen and what the hardware does, we can't see it to tell you, so you have to tell us.
    I suggest you run through these user tips and provide more information about your hardware.
    Disconnect the TimeMachine drive for now
    ..Step by Step to fix your Mac
    Help us to help you on these forums
    Create a data recovery/undelete external boot drive
    If this is going way over your head, there are local PC/Mac techs that will assist you for a fee, Apple only does hardware repairs and is advised to use them if you discover it is, especially if under warranty/AppleCare.
    Hard drive and RAM upgrades can be handled yourself or by a outside tech in many older models of Mac, but don't expect Apple to cover the new parts.
    Install/upgrade RAM or storage drive in Mac's

  • Itunes wont open cause its not a win32 application? it opened yesterday help

    itunes wont open cause its not a win32 application? it opened yesterday and now it wont and my friend plugged her iphone in and now it wont work?

    Doublechecking. When you did the complete uninstall, were you using the following document as a guide?
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    (If damaged program files are involved here, a standard install might not remove them, and a reinstall might not then replace them. So the Verify iTunes and related components are completely uninstalled section is an important step.)

  • Hello guys ..when i try to update any applecation..it puts the first user a ccount and it ask the password which i dont know it cause im not the first user of this i pad ,,,,so how can i changebit to update apps dute to my account name and password???

    hello guys ..when i try to update any applecation..it puts the first user a ccount and it ask the password which i dont know it cause im not the first user of this i pad ,,,,so how can i changebit to update apps dute to my account name and password???
    please answer me

    Delete all apps that were purchased with the former ID and renown load or purchase them with your ID.

  • When I reboot my iMac I'll get hard disk selection instead of fast login and I am not using boot camp! Any help is greatly appriciated!

    When I reboot my iMac I'll get hard disk selection instead of fast login and I am not using boot camp! Any help is greatly appriciated!

    Have you selected which disk you want to boot from? In System Preferences, click startup disk and choose the drive you want as your default boot drive.

  • HT1386 Hi when I Try to sync it tells me it can not save cause there not enough memory but I have 13 fb left?

    Hi when I Try to sync it tells me it can not save cause there not enough memory but I have 13 fb left?

    Hello, peppertwist. 
    Thank you for visiting Apple Support Communities. 
    When receiving the not enough space alert, he is the best article to go through. 
    iOS: "Not enough free space" alert when trying to sync
    http://support.apple.com/kb/ts1503
    Cheers,
    Jason H. 

Maybe you are looking for

  • ORACLE WEBLogic 12C Clustering of Admin Server ?

    Hi , I have setup WebLogic Server 12c on solaris 10 u11, as cluster. For cluster of managed servers, it works fine. My Question is, can we run Admin Server from two nodes of cluster? example:  Node 1, created Admin Server, Cluster (F-End1/F-End2) Man

  • [SOLVED] KDE Akonadi nightmare

    After a fresh KDE 4.4 install on top of freshly installed Arch, I discovered that Akonadi server fails to start, giving a number of errors, like mysql startup error and the subsequent failure of akonadi to register at dbus, error logs et cetera. Sinc

  • Open project and NOT have it added to 'open recent' menu?

    It would be great to be able to browse thru several projects without affecting the 'open recent' menu. Is this possible with 3.0.2?

  • How to replace ajax call with ODataModel?

    Hi, I am new to SAP UI5. I went through the ODataModel api. All I found is, if we want to make use of the ODataModel, we are supposed to bind the model to some control. But what about the cases where we don't want to bind the results we get from the

  • Zip: concatening compressed chunks, will it give a single zip file

    Are concatenated zipped chunks recognized as a single zip file? What I am trying to achieve(using java.util.zip) is like, my application is generating a large CSV file, i need to compress this data and write it into a file or send to network. But I d