Programming partitions in flash using SDK

Hi all,
I have my flash memory defined like this:
&qspi {
        #address-cells = <1>;
        #size-cells = <0>;
        flash0: flash@0 {
                compatible = "micron,n25q128";
                reg = <0x0>;
                #address-cells = <1>;
                #size-cells = <1>;
                spi-max-frequency = <50000000>;
                partition@0x00000000 {
                        label = "boot";
                        reg = <0x00000000 0x00500000>;
                partition@0x00500000 {
                        label = "bootenv";
                        reg = <0x00500000 0x00020000>;
                partition@0x00520000 {
                        label = "kernel";
                        reg = <0x00520000 0x00a80000>;
                partition@0x00fa0000 {
                        label = "spare";
                        reg = <0x00fa0000 0x00000000>;
I'm able to individually write on each partition using flashcp from Linux. However, I'd like to write these regions from the 2014.4 SDK using the Xilinx Tools/Program Flash and a JTAG. Until now, I've been able to write a boot.bin file in the "boot" region. This works perfectly, but then I have to write on "bootenv" and on "kernel" from Linux.
I've tried to package everything using bootgen with this bif file:
the_ROM_image:
  [bootloader]     ../../../Projects/GCS/fsbl/Debug/fsbl.elf
                ../../../Projects/GCS/top_hw_platform_0/top.bit
                u-boot.elf
                [load=0x00500000]uEnv.txt
                [load=0x00520000]image.ub
This is not working. I'm not sure if this is it because it's not possible or because I'm doing something wrong. Could anybody help me? It would be very convinient for me being able to write bootenv and kernel using JTAG.

RTFM
you need use offset not load

Similar Messages

  • Exception thrown when using SDK 4.5.1 with debug flash player

    My setup:
    Windows 7
    Flash Builder 4 Premium, Version 4.0 (build 272416), volume license
    SDK 4.5.1
    RIATest 4.3, RIATestAgent4.swc
    I compiled our application using SDK 4.5.1 with these compiler setting:
    -locale en_US -use-network=false  -theme=Halo/halo.swc --keep-as3-metadata Test -define CONFIG::WITH_DEMS  true -define CONFIG::LP_MODULE true -includes  com.mycompany.automationDelegates.MyContainerAutomationImpl  com.mycompany.automationDelegates.MyFirstComponentAutomationImpl  com.mycompany.automationDelegates.MySecondComponentAutomationImpl  com.mycompany.automationDelegates.MyThirdComponentAutomationImpl  -include-libraries "C:\Program Files (x86)\RIATest  4\agent\RIATestAgent4.swc" "C:\Program Files (x86)\Adobe\Adobe Flash  Builder 4\sdks\4.5.1\frameworks\libs\automation\automation.swc"  "C:\Program Files (x86)\Adobe\Adobe Flash Builder  4\sdks\4.5.1\frameworks\libs\automation\automation_dmv.swc" "C:\Program  Files (x86)\Adobe\Adobe Flash Builder  4\sdks\4.5.1\frameworks\libs\automation\automation_agent.swc"
    When I run our application using  the debug 10.2 Flash Player, the following exception is thrown:
    ReferenceError: Error #1065: Variable Scroller is not defined.
    at flash.system::ApplicationDomain/getDefinition()
    at  mx.automation.delegates.containers::ApplicationAutomationImpl/getAutomationChildren()[E:\ dev\4.5.1\frameworks\projects\automation\src\mx\automation\delegates\containers\Applicatio nAutomationImpl.as:266]
    at mx.core::UIComponent/getAutomationChildren()[E:\dev\4.5.1\frameworks\projects\framework\s rc\mx\core\UIComponent.as:12919]
    at  mx.automation::AutomationManager/getAutomationChildrenArray()[C:\work\flex\dmv_automation \projects\automation_agent\src\mx\automation\AutomationManager.as:4895]
    at  com.riatest::CachedAutomationManager2/getAutomationChildrenArray()[C:\WORK\RIATest\Source \agent4\com\riatest\CachedAutomationManager2.as:46]
    at  mx.automation::AutomationManager/getChildrenRecursively()[C:\work\flex\dmv_automation\pro jects\automation_agent\src\mx\automation\AutomationManager.as:1252]
    at  mx.automation::AutomationManager/getChildren()[C:\work\flex\dmv_automation\projects\autom ation_agent\src\mx\automation\AutomationManager.as:1225]
    at com.riatest::CachedAutomationManager/getChildren()[C:\WORK\RIATest\Source\agent4\com\riat est\CachedAutomationManager.as:55]
    at  com.riatest.toolbar::DisplayListTreeDataDescriptor/getChildren()[C:\WORK\RIATest\Source\a gent4\com\riatest\toolbar\DisplayListTreeDataDescriptor.as:74]
    at  com.riatest.toolbar::DisplayListTreeDataDescriptor/hasChildren()[C:\WORK\RIATest\Source\a gent4\com\riatest\toolbar\DisplayListTreeDataDescriptor.as:112]
    at  com.riatest.toolbar::DisplayListTreeDataDescriptor/isBranch()[C:\WORK\RIATest\Source\agen t4\com\riatest\toolbar\DisplayListTreeDataDescriptor.as:117]
    at mx.controls::Tree/isBranch()[E:\dev\4.5.1\frameworks\projects\mx\src\mx\controls\Tree.as: 1552]
    at mx.controls::Tree/initListData()[E:\dev\4.5.1\frameworks\projects\mx\src\mx\controls\Tree .as:2858]
    at mx.controls::Tree/makeListData()[E:\dev\4.5.1\frameworks\projects\mx\src\mx\controls\Tree .as:1330]
    at mx.controls::List/www.adobe.com/2006/flex/mx/internal::setupRendererFromData()[E:\dev\4.5.1\frameworks\projects\mx\src\mx\controls\List.as:1699]
    at mx.controls::List/commitProperties()[E:\dev\4.5.1\frameworks\projects\mx\src\mx\controls\ List.as:896]
    at mx.controls::Tree/commitProperties()[E:\dev\4.5.1\frameworks\projects\mx\src\mx\controls\ Tree.as:1191]
    at mx.core::UIComponent/validateProperties()[E:\dev\4.5.1\frameworks\projects\framework\src\ mx\core\UIComponent.as:8209]
    at  mx.managers::LayoutManager/validateProperties()[E:\dev\4.5.1\frameworks\projects\framewor k\src\mx\managers\LayoutManager.as:597]
    at  mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.5.1\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:783]
    at  mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.5.1\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:1180]
    I contacted the folks who make RIATest, and they did their best to debug the problem. Their conclusion is:
    "The stack trace that you posted shows that  ApplicationAutomationImpl/getAutomationChildren calls  ApplicationDomain/getDefinition on line 266 and the call fails with an  error. This most likely indicates a bug in ApplicationAutomationImpl."
    This problem never occurred when we were compiling our code using SDK 3.4.1. What can I do to work around this and continue performing automated tests of our Flash applications?

    Try linking a Scroller into your app.

  • What app do you use on an iPad to allow access to programs that require flash, such as Math XL?

    What app do you use on an iPad to allow access to programs that require flash, such as Math XL?

    Adobe has not made a version of Flash for the iPad.
    Kappy explains why. https://discussions.apple.com/message/19446567#19446567
    5 Flash Player Alternatives http://www.techshout.com/features/2011/01/flash-player-for-ipad-apps/
    Top 4 browsers supports flash player on iPad and iPhone
    http://mashtips.com/flash-player-ios/
     Cheers, Tom

  • [Solved] unable to mount harddisk partition or flash drive

    After recent updates to gnome 3.4.2,i am unable to mount  harddisk partition or flash drive .I have 2 year old arch installation with gnome.
    When i click on partitions in nautilus,it says "Unable to mount program files \n Not authorized to perform operation"
    Problem is not only while mounting partitions.
    Wherever we need authorization .Like changing date and time ,changing user accounts using gnome UI etc.The unlock button is greyed out permanently.
    even i am not able to shutdown using gnome menus. it just log me out only ,do not restart or shutdown.Though i can shutdown using shutdown command on commandline.
    i run gnome using daemon method. not through xinitrc .
    https://bugs.archlinux.org/task/25031?p … ekit#close
    I found a similar discussion in this bug. But since, i do not use xinitrc, it is unlikely they will help me.
    Can someone be kind enough to help me on this?
    Thanks in advance.
    Last edited by piyushbhatt (2012-09-11 05:48:57)

    maybe changes in udev or any other package
    you have polkit polkit-gnome
    and you user is in optical, disks and wheel groups?
    for me those above work in every sitation

  • How to update the AIR included in Flash Builder SDK?

    So, the Flash Builder SDK comes with a version of AIR, which it uses when you package a mobile app for iOS (Android mobile apps are run with the AIR that's downloaded from the Marketplace)...  On my Windows machine, this "built-in" copy of AIR is located in "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\runtimes\" unless I'm mistaken.
    I'm pretty sure that it does not automatically update itself -- and I'm equally certain that it's a pretty old version of AIR, because it's the one that was included with the 4.6 SDK which was released 8 months ago...
    So how do I update this version of AIR that's built into the Flash Builder SDK?
    Thanks,
    Laurence MacNeill
    Mableton, Georgia, USA

    Oops -- never mind...  Didn't realize there was a separate AIR SDK that you could download -- I thought it was integrated into the Flex SDK, and since there hasn't been a new Flex SDK since 4.6, I thought I had to somehow grab pieces and parts of AIR to update this manually...
    But grabbing the AIR SDK from http://www.adobe.com/devnet/air/air-sdk-download.html did the trick...  Just unzipped that into the sdks\4.6.0 folder and was done...  Sweet...
    L.

  • Saving and loading plugin's settings by using SDK APIs.

    Hi All.
    I am trying to save and load plugin's settings, ex. dialog setting values and strings.
    OS platform is windows XP.
    First I programmed the way of using *.ini file.
    But that not appropriate for Macintosh.
    So, I like to know common way by using SDK's APIs.
    Development env. is VS2008 and Ai CS5 SDK.
    Thanks.

    Use AIPreferenceSuite (AIPreference.h)

  • Has anyone been able to export to flash using a Blu-ray Project in CS3?

    Has anyone been able to export to flash using a Blu-ray Project in CS3?
    If so what files, settings and OS were you using?
    Whenever I try to export to flash from a Blu-ray project the program always crashes.

    S&amp;G wrote:
    Eric Root's posting  answered my question. He said to downlaod DiskmakerX. It worked like a charm to create a bootable Mavericks Installer Flash Drive.
    tips on use: https://discussions.apple.com/message/18705466

  • Firefox is asking me what program I want to use to open firefox. It has never done this before.

    Several days ago an XP internet Security 2012 invaded my computer. It would not let me do anything except sign up for a $60 program. It did allow me to send a message to its support stall. But of course I could not get to my email to read their answer. Yesterday I went to safe mode Firefox and that allowed me to get to my email. The message from XP internet security apologized and suggested that I set the date on my computer 6 days ahead and that would remove their program. So I did and their program is gone. But now whenever I want to use firefox it asks me what program I want to use, I select Firefox and the site opens. Also I can not change to date back to normal. When I go to the control panel and click on date and time, it says application not found and does the same thing for most everything else in the control panel.

    '''''XP internet Security 2012''''' is malware masquerading as anti-malware. You may need to go to an un-infected computer to read the following article, to download the tools needed to remove it (then transport them to your infected system on a CD or DVD; avoid using a pin/jump/thumb/USB drive to transport the files as it can become infected).
    *http://www.bleepingcomputer.com/virus-removal/remove-xp-internet-security-2012
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins <u>after you get the infection cleared</u>. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *'''''Adobe Shockwave for Director Netscape plug-in''''': [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *'''''Adobe PDF Plug-In For Firefox and Netscape''''': [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *'''''Shockwave Flash''''' (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *'''Next Generation Java Plug-in for Mozilla browsers''': [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • What is the best software programs that I can use to read, write and modify data / files on external HD (NTFS format i.e.  Windows) ?

    Hi guys,
    I’m new to Mac and have a MacBook Pro Lion OS (10.6.8 I think !!!) with Parallels 7 (Windows 7) installed. Can someone please tell me what is the best software program that I can use to read, write and modify data / files on external HD (NTFS format) from the Mac OS ? I heard of Paragon and Tuxera NTFS. Are they free ? Are they good ? Are there any other software programs out there ? I heard that some people have issues with Paragon.
    Thanks.

    Your best bet would be to take the drive to the oldest/compatible with that drive Windows PC and grab the files off, right click and format it exFAT (XP users can download exFAT from Microsoft) and then put the files back on.
    Mac's can read and write all Windows files formats except write to NTFS (and in some cases not read) so if you can change the format of the drive to exFAT (all data has to be remove first) then you will have a drive that doesn't require paid third party NTFS software (a license fee goes to Microsoft) for updates.
    Also it's one less hassle to deal with too.
    .Drives, partitions, formatting w/Mac's + PC's

  • Air programs without having flash

    Can you run Air programs without having flash
    installed?

    If you're on Windows and are just looking to write a program
    with an HTML interface and Javascript for the application logic,
    Microsoft invented something much like AIR about 8 years ago called
    HTML Applications (
    http://msdn.microsoft.com/en-us/library/ms536496.aspx).
    It's basically a web page with one special tag at the top to set
    some application-like properties for the main window, named with a
    .hta suffix so Windows knows to open it with IE.
    The technology hasn't moved forward since the days of IE4,
    except of course that the base rendering engine has gotten a lot
    more powerful. You also lose out on cross-platform compatibility,
    and to get the single-file download-and-install behavior you get
    for free with AIR, you'll have to separately build some kind of
    installer, like an MSI. In an HTA, all of IE's security features
    are turned off, so you can do things like access COM objects to use
    more powerful APIs than a web app normally has access to. Through
    that interface, you can do all the same sorts of local file and DB
    access that AIR can do.
    Bottom line, you can think of HTAs as "AIR Lite for Windows".
    AIR is portable and, on the whole, a lot more powerful, but if you
    can tolerate its limits, it can be a good solution.

  • Print a report in crystal Report using SDK

    Hi Dear;
    any body can publish a sample code how can i print a report built in crystal report using SDK?
    regards;

    Hi Dany,
    Hope the following code will help u .
    before calling the function make a XML by using dataset.writexml, in which you have to pass the name of your stored procedure.
    for this you have to decalre commantype as stored procedure.
    first parameter of this is rpt name . asecon paramer is ur xml name which you got from DAtaset.writexml.
    Sub ShowReport(ByVal rptName As String, ByVal SourceXML As String)
            Try
                Dim oSubReport As CrystalDecisions.CrystalReports.Engine.SubreportObject
                Dim rptSubReportDoc As CrystalDecisions.CrystalReports.Engine.ReportDocument
                Dim rptView As New CrystalDecisions.Windows.Forms.CrystalReportViewer
                Dim rptPath As String = System.Windows.Forms.Application.StartupPath & "\" & rptName
                Dim rptDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument
                rptDoc.Load(rptPath)
                For Each oMainReportTable As CrystalDecisions.CrystalReports.Engine.Table In rptDoc.Database.Tables
                    oMainReportTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
                Next
                For Each rptSection As CrystalDecisions.CrystalReports.Engine.Section In rptDoc.ReportDefinition.Sections
                    For Each rptObject As CrystalDecisions.CrystalReports.Engine.ReportObject In rptSection.ReportObjects
                        If rptObject.Kind = CrystalDecisions.Shared.ReportObjectKind.SubreportObject Then
                            oSubReport = rptObject
                            rptSubReportDoc = oSubReport.OpenSubreport(oSubReport.SubreportName)
                            For Each oSubTable As CrystalDecisions.CrystalReports.Engine.Table In rptSubReportDoc.Database.Tables
                                oSubTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
                            Next
                        End If
                    Next
                Next
                rptView.ReportSource = rptDoc
                rptView.Show()
                Dim oFrm As New System.Windows.Forms.Form
                rptView.DisplayGroupTree = False
                rptView.Dock = System.Windows.Forms.DockStyle.Fill
                rptView.Location = New System.Drawing.Point(0, 0)
                oFrm.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
                oFrm.Controls.Add(rptView)
                oFrm.Name = "rptForm"
                oFrm.Text = "rptForm"
                oFrm.ResumeLayout(False)
                oFrm.WindowState = System.Windows.Forms.FormWindowState.Maximized
                oFrm.TopMost = True
                oFrm.ShowDialog()
            Catch ex As Exception
                oApplication.MessageBox(ex.Message)
            End Try
        End Sub

  • How can I parse the document in WebI using sdk?

    I wanna to parse the document in WebIntelligence using sdk. My question is :
    1) By which sdk, I can parse the document.  'Report Application Server SDK' ?
    2) I wanna to parse the 'Self-Defined SQL' and 'Query' components of the document. Can the sdk support this request ?
    My enviroment is  BO XI Release 2.
    Thanks all.

    Hi shao,
    1) By which sdk, I can parse the document. 'Report Application Server SDK' ?
    'Report Application Server SDK' is For Crystal reports so for WebIntelligence or DesktopIntelligence Report it is  "Report Engine SDK".
    Apart from this if you want to do more on these reports "BusinessObjects Enterprise SDK" can be used.
    You can get more information on below link for XI R2.
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
    For question 2,
    I am not sure about it but Report Engine SDK provides classes and interface of Data Providers.
    i.e. Building and Editing Data Providers   and  Working with Recordsets.
    Also you can have look on
    Report Engine SDK's
    Interface "Query"
    Hope these helps you.
    Thanks,
    Praveen.

  • How do I make Flash use the original Photoshop file, not a .png one?

    Hi, this might be kind of a basic question/problem but I can't seem get Google to help me. Since I've recently started out with Flash, I guess I just missed some newbie thing out, still very greatful for help though, since this'll soon be causing a brain hemorrage...
    Ok, here goes: 
    I'd like to draw key frames in Flash, just simple drawings/skelettons using the pen tool, basically to create the movement itself. After that, I want to export the frames that I drew as images to Photoshop in order to apply texture and colour, and then put them back into Flash again, without tampering with the Flash doc I've already created, since the animation is already done. I want the file(s) that I'm working with to remain the same files throughout the process, from Flash to Photoshop and back to Flash again, like the way InDesign works. Is this even possible?
    If this isn't possible at all, I guess the alternative is to draw in Photoshop and then import the drawings into Flash, put them in order and then make any eventual changes after you've created the animation in Flash, this is less smooth though still possible. But here emerges (sort of) the same problem:
    When I import images from Photoshop, create animation out of them, and then realize I have to make some changes in the original PS pic file I head back to PS to correct it. But it just doesn't work the way I want it to... If I modify the pic file in PS, then use the "update" alternative in Flash Library, Flash just tells me that the file can't be found, and does not update the image. If I choose the "edit in PS"-alternative from right clicking on a symbol that is in the library, the file opens as a .png file in PS, not as my original file! It seems to me that Flash is creating its own library, not using the existing document. Is there anyway to go around this? How do I make Flash use my PS file which allows me to change it as much as I want (as with InDesign)?
    This is driving me crazy, what I'm working on is supposed to be full HD, I can't use a freaking .png file... Gah!
    Very many Thanks in advance!
    (If anyone has any suggestion for alternative software, that's also very welcome!)

    If you start the artwork in Flash, you are starting with a vector drawing. If you export this art as a .png so that you can edit it in Photoshop, you will be translating the artwork to a bitmap image at a specific resolution. When you edit this .png in Photoshop, you can save it, as a .png, and then import that .png into Flash.
    After you import the .png, place it on the stage in a new layer. Position the new artwork over the old artwork. Then throw away the original artwork. Now, when you want to edit the artwork, go to the original file in the movie's Library and select Edit with Photoshop. When you save the file in Photoshop, the updated file will appear in the Flash movie.
    If you have Illustrator, you can export your original artwork as an Illustrator file. Then you can open this file in Illustrator, edit it, and save it. Then, as above, import the .ai file into Flash and toss out the original. Now you can edit the original file through the Library in your Flash movie.
    Alternately, you could start by creating the artwork in either Photoshop or Illustrator. Then import that art into Flash. Now you have a link to the editor for either file in your Library. This may simplify things.
    Working with Photoshop and/or .png files will give you a larger finished file than working with Illustrator files. In either case the finished resolution of the Flash movie will be the computer's screen resolution, 72 ppi.

  • How to show screen design in .srf (from Screen Painter) using SDK?

    How to show screen design in .srf (from Screen Painter) using SDK?

    You need to use the LoadBatchActions method of the Application object to load .SRF files.
    John.

  • How do I do validation using SDK.

    How do I do validation using SDK.
    We have created different warehouses for the client business operations.
    For eg:
    1. Inspection Stores
    2. Rejection Stores
    3. Main Stores
    In Goods Return & A/P Credit Memo, other than RejectionStores is
    selected, we want to generate a warning message.
    How do I do this through SDK.
    I need the code sample for the following activity:
    1. Reading the data available at each row of the current form (Goods
    Return/ A/P Credit memo)
    2. Validate the data with a paricular warehouse
    3. Generate warning message.
    I could not find any samples related to this.

    There is a method called MessageBox for the Application object. Have a look at
    the documentation, everything is there.

Maybe you are looking for