Is XML file creation difficult?

Here you can put bug report of USB JTAG/BDM or features or device you want to support. Please submit wish list only. Other topics will moved out from this forum
Post Reply
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Is XML file creation difficult?

Post by usbbdm »

I have received many emails asking me to create xml for him/her. I wonder is it that difficult to create an XML giving you have a lot of compatible devices?
Most of the request comes from new SPI cable modems. That should be the simplest thing to do.
If you have issues to create XML, please post your XML in here and I can take a look of why it is not working so in the future you really should be able to make the XML yourself.
d0
Junior Member
Posts: 177
Joined: Thu Feb 26, 2009 9:50 am
Location: S FL
Contact:

Post by d0 »

It is not too difficult. I took a class that teaches XML and it was very easy.The hard part is knowing what to put in the fields such as the sizes, and also the <init> tag can be confusing.
dli8187
Junior Member
Posts: 4
Joined: Wed May 21, 2014 9:21 pm

Post by dli8187 »

Because we know nothing about the xml, and also know nothing about those modems' data lay out. So don't know how to start.
babyoche
Junior Member
Posts: 20
Joined: Wed Apr 28, 2010 5:47 pm

Post by babyoche »

how can I make a xml with this information?

DRAM: 64 MB
Macronix MX25l12805D flash found
Flash: 16 MB
In: serial
Out: serial
Err: serial
Running RAM test
RAM test passed



Serial Flash [Bus:0 CS:0] : mx25l12805 16384KB, 4096 sectors each 4KB
7 cmdlinepart partitions found on MTD device spansion
partitions[0] = {.name = U-Boot, .offset = 0x00000000,.size = 0x00020000 (128K) }
partitions[1] = {.name = env1, .offset = 0x00020000,.size = 0x00010000 (64K) }
partitions[2] = {.name = env2, .offset = 0x00030000,.size = 0x00010000 (64K) }
partitions[3] = {.name = fWare-FS, .offset = 0x000e0000,.size = 0x00280000 (2560K) }
partitions[4] = {.name = nvram, .offset = 0x00fb0000,.size = 0x00050000 (320K) }
partitions[5] = {.name = UBFI1, .offset = 0x00040000,.size = 0x007b0000 (7872K) }
partitions[6] = {.name = UBFI2, .offset = 0x007f0000,.size = 0x007b0000 (7872K) }
Creating 7 MTD partitions on "spansion":

I tried to copy tm802 and 6220 changing some value and I get this

-flshdct 0
Check your configuration
Found Address= 00000000 SFDP Macronix 25X128
-getram 0 fa0000
Time 00:00:17 (.502)
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

This is good sign, at least you do not need to add new type in the flash.xml.
Looks like only 8M flash is used.
babyoche
Junior Member
Posts: 20
Joined: Wed Apr 28, 2010 5:47 pm

Post by babyoche »

this is an arris t804g
but I get this error

Check your configuration
Found Address= 00000000 SFDP Macronix 25X128
-getram 0 fa0000

what do I need to do?
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

babyoche wrote:this is an arris t804g
but I get this error

Check your configuration
Found Address= 00000000 SFDP Macronix 25X128
-getram 0 fa0000

what do I need to do?
Create your own xml. If this is from serial port, then it is enough.
partitions[0] = {.name = U-Boot, .offset = 0x00000000,.size = 0x00020000 (128K) }
partitions[1] = {.name = env1, .offset = 0x00020000,.size = 0x00010000 (64K) }
partitions[2] = {.name = env2, .offset = 0x00030000,.size = 0x00010000 (64K) }
partitions[3] = {.name = fWare-FS, .offset = 0x000e0000,.size = 0x00280000 (2560K) }
partitions[4] = {.name = nvram, .offset = 0x00fb0000,.size = 0x00050000 (320K) }
partitions[5] = {.name = UBFI1, .offset = 0x00040000,.size = 0x007b0000 (7872K) }
partitions[6] = {.name = UBFI2, .offset = 0x007f0000,.size = 0x007b0000 (7872K) }
babyoche
Junior Member
Posts: 20
Joined: Wed Apr 28, 2010 5:47 pm

Post by babyoche »

ok, I'll try again
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests