All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm] kobs-ng tool?
@ 2016-04-13 11:48 Gary Thomas
  2016-04-13 13:38 ` Otavio Salvador
  0 siblings, 1 reply; 9+ messages in thread
From: Gary Thomas @ 2016-04-13 11:48 UTC (permalink / raw)
  To: meta-freescale

I have a recipe (don't recall where I found it, it was a while ago)
for kobs-ng_3.0.35-4.1.0.bb

The tool created by this recipe doesn't seem to work with my i.MX6UL
target and indeed the NAND image created does not come close to matching
what the FreeScale manufacturing tool creates using the same U-Boot
image.

Does anyone know where I can find a more recent tool (I tried the
cited website and ended up in Russia!)?  I really need to get this
working with my i.MX6UL target.

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-fsl-arm] kobs-ng tool?
  2016-04-13 11:48 [meta-fsl-arm] kobs-ng tool? Gary Thomas
@ 2016-04-13 13:38 ` Otavio Salvador
  2016-04-13 14:04   ` Gary Thomas
  0 siblings, 1 reply; 9+ messages in thread
From: Otavio Salvador @ 2016-04-13 13:38 UTC (permalink / raw)
  To: Gary Thomas; +Cc: meta-freescale

On Wed, Apr 13, 2016 at 8:48 AM, Gary Thomas <gary@mlbassoc.com> wrote:
> I have a recipe (don't recall where I found it, it was a while ago)
> for kobs-ng_3.0.35-4.1.0.bb
>
> The tool created by this recipe doesn't seem to work with my i.MX6UL
> target and indeed the NAND image created does not come close to matching
> what the FreeScale manufacturing tool creates using the same U-Boot
> image.
>
> Does anyone know where I can find a more recent tool (I tried the
> cited website and ended up in Russia!)?  I really need to get this
> working with my i.MX6UL target.

imx-kobs ;-)


-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-fsl-arm] kobs-ng tool?
  2016-04-13 13:38 ` Otavio Salvador
@ 2016-04-13 14:04   ` Gary Thomas
  2016-04-13 14:13     ` Otavio Salvador
  2016-04-13 14:15     ` Gary Thomas
  0 siblings, 2 replies; 9+ messages in thread
From: Gary Thomas @ 2016-04-13 14:04 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 1149 bytes --]

On 2016-04-13 15:38, Otavio Salvador wrote:
> On Wed, Apr 13, 2016 at 8:48 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>> I have a recipe (don't recall where I found it, it was a while ago)
>> for kobs-ng_3.0.35-4.1.0.bb
>>
>> The tool created by this recipe doesn't seem to work with my i.MX6UL
>> target and indeed the NAND image created does not come close to matching
>> what the FreeScale manufacturing tool creates using the same U-Boot
>> image.
>>
>> Does anyone know where I can find a more recent tool (I tried the
>> cited website and ended up in Russia!)?  I really need to get this
>> working with my i.MX6UL target.
>
> imx-kobs ;-)

Sadly, that's not building for my target.

MACHINE           = "imx6ulevk"
meta              = "master:778121ab844af623a215430ba579a5fb3947928b"
meta-fsl-arm      = "master:cec4c47e33979631e85e2c933cea5182da61ad82"

Error log attached.  Any ideas?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

[-- Attachment #2: do_compile.imx-kobs --]
[-- Type: text/plain, Size: 47701 bytes --]

DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
DEBUG: Executing shell function do_compile
NOTE: make -j 4
Making all in include
make[1]: Entering directory '/local/imx6ul_2016-02-22/tmp/work/cortexa7hf-neon-amltd-linux-gnueabi/imx-kobs/5.3-r0/build/include'
make  all-am
make[2]: Entering directory '/local/imx6ul_2016-02-22/tmp/work/cortexa7hf-neon-amltd-linux-gnueabi/imx-kobs/5.3-r0/build/include'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/local/imx6ul_2016-02-22/tmp/work/cortexa7hf-neon-amltd-linux-gnueabi/imx-kobs/5.3-r0/build/include'
make[1]: Leaving directory '/local/imx6ul_2016-02-22/tmp/work/cortexa7hf-neon-amltd-linux-gnueabi/imx-kobs/5.3-r0/build/include'
Making all in src
make[1]: Entering directory '/local/imx6ul_2016-02-22/tmp/work/cortexa7hf-neon-amltd-linux-gnueabi/imx-kobs/5.3-r0/build/src'
arm-amltd-linux-gnueabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/local/imx6ul_2016-02-22/tmp/sysroots/imx6ulevk -DHAVE_CONFIG_H -I. -I../../imx-kobs-5.3/src -I../include -I../../imx-kobs-5.3/include    -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/local/imx6ul_2016-02-22/tmp/work/cortexa7hf-neon-amltd-linux-gnueabi/imx-kobs/5.3-r0=/usr/src/debug/imx-kobs/5.3-r0 -fdebug-prefix-map=/local/imx6ul_2016-02-22/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/local/imx6ul_2016-02-22/tmp/sysroots/imx6ulevk=  -Wall   -c -o main.o ../../imx-kobs-5.3/src/main.c
arm-amltd-linux-gnueabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/local/imx6ul_2016-02-22/tmp/sysroots/imx6ulevk -DHAVE_CONFIG_H -I. -I../../imx-kobs-5.3/src -I../include -I../../imx-kobs-5.3/include    -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/local/imx6ul_2016-02-22/tmp/work/cortexa7hf-neon-amltd-linux-gnueabi/imx-kobs/5.3-r0=/usr/src/debug/imx-kobs/5.3-r0 -fdebug-prefix-map=/local/imx6ul_2016-02-22/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/local/imx6ul_2016-02-22/tmp/sysroots/imx6ulevk=  -Wall   -c -o mtd.o ../../imx-kobs-5.3/src/mtd.c
arm-amltd-linux-gnueabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/local/imx6ul_2016-02-22/tmp/sysroots/imx6ulevk -DHAVE_CONFIG_H -I. -I../../imx-kobs-5.3/src -I../include -I../../imx-kobs-5.3/include    -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/local/imx6ul_2016-02-22/tmp/work/cortexa7hf-neon-amltd-linux-gnueabi/imx-kobs/5.3-r0=/usr/src/debug/imx-kobs/5.3-r0 -fdebug-prefix-map=/local/imx6ul_2016-02-22/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/local/imx6ul_2016-02-22/tmp/sysroots/imx6ulevk=  -Wall   -c -o rom_nand_hamming_code_ecc.o ../../imx-kobs-5.3/src/rom_nand_hamming_code_ecc.c
arm-amltd-linux-gnueabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/local/imx6ul_2016-02-22/tmp/sysroots/imx6ulevk -DHAVE_CONFIG_H -I. -I../../imx-kobs-5.3/src -I../include -I../../imx-kobs-5.3/include    -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/local/imx6ul_2016-02-22/tmp/work/cortexa7hf-neon-amltd-linux-gnueabi/imx-kobs/5.3-r0=/usr/src/debug/imx-kobs/5.3-r0 -fdebug-prefix-map=/local/imx6ul_2016-02-22/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/local/imx6ul_2016-02-22/tmp/sysroots/imx6ulevk=  -Wall   -c -o ncb.o ../../imx-kobs-5.3/src/ncb.c
In file included from ../../imx-kobs-5.3/src/mtd.h:31:0,
                 from ../../imx-kobs-5.3/src/ncb.c:30:
../../imx-kobs-5.3/src/BootControlBlocks.h:58:2: error: unknown type name 'uint8_t'
  uint8_t m_u8DataSetup;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:59:2: error: unknown type name 'uint8_t'
  uint8_t m_u8DataHold;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:60:2: error: unknown type name 'uint8_t'
  uint8_t m_u8AddressSetup;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:61:2: error: unknown type name 'uint8_t'
  uint8_t m_u8DSAMPLE_TIME;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:88:2: error: unknown type name 'uint32_t'
  uint32_t m_u32FingerPrint1; //!< First fingerprint in first byte.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:92:4: error: unknown type name 'uint32_t'
    uint32_t m_u32DataPageSize; //!< 2048 for 2K pages, 4096 for 4K pages.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:93:4: error: unknown type name 'uint32_t'
    uint32_t m_u32TotalPageSize; //!< 2112 for 2K pages, 4314 for 4K pages.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:94:4: error: unknown type name 'uint32_t'
    uint32_t m_u32SectorsPerBlock; //!< Number of 2K sections per block.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:95:4: error: unknown type name 'uint32_t'
    uint32_t m_u32SectorInPageMask; //!< Mask for handling pages > 2K.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:96:4: error: unknown type name 'uint32_t'
    uint32_t m_u32SectorToPageShift; //!< Address shift for handling pages > 2K.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:97:4: error: unknown type name 'uint32_t'
    uint32_t m_u32NumberOfNANDs; //!< Total Number of NANDs - not used by ROM.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:101:5: error: unknown type name 'uint16_t'
     uint16_t m_u16Major;
     ^
../../imx-kobs-5.3/src/BootControlBlocks.h:102:5: error: unknown type name 'uint16_t'
     uint16_t m_u16Minor;
     ^
../../imx-kobs-5.3/src/BootControlBlocks.h:103:5: error: unknown type name 'uint16_t'
     uint16_t m_u16Sub;
     ^
../../imx-kobs-5.3/src/BootControlBlocks.h:104:5: error: unknown type name 'uint16_t'
     uint16_t m_u16Reserved;
     ^
../../imx-kobs-5.3/src/BootControlBlocks.h:106:4: error: unknown type name 'uint32_t'
    uint32_t m_u32NANDBitmap; //!< bit 0 == NAND 0, bit 1 == NAND 1, bit 2 = NAND 2, bit 3 = NAND3
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:109:4: error: unknown type name 'uint32_t'
    uint32_t m_u32NumberBB_NAND0; //!< # Bad Blocks stored in this table for NAND0.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:110:4: error: unknown type name 'uint32_t'
    uint32_t m_u32NumberBB_NAND1; //!< # Bad Blocks stored in this table for NAND1.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:111:4: error: unknown type name 'uint32_t'
    uint32_t m_u32NumberBB_NAND2; //!< # Bad Blocks stored in this table for NAND2.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:112:4: error: unknown type name 'uint32_t'
    uint32_t m_u32NumberBB_NAND3; //!< # Bad Blocks stored in this table for NAND3.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:113:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Number2KPagesBB_NAND0; //!< Bad Blocks for NAND0 consume this # of 2K pages.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:114:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Number2KPagesBB_NAND1; //!< Bad Blocks for NAND1 consume this # of 2K pages.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:115:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Number2KPagesBB_NAND2; //!< Bad Blocks for NAND2 consume this # of 2K pages.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:116:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Number2KPagesBB_NAND3; //!< Bad Blocks for NAND3 consume this # of 2K pages.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:119:3: error: unknown type name 'uint32_t'
   uint32_t m_Reserved1[10];
   ^
../../imx-kobs-5.3/src/BootControlBlocks.h:121:2: error: unknown type name 'uint32_t'
  uint32_t m_u32FingerPrint2; //!< 2nd fingerprint at byte 10.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:124:4: error: unknown type name 'uint32_t'
    uint32_t m_u32NumRowBytes; //!< Number of row bytes in read/write transactions.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:125:4: error: unknown type name 'uint32_t'
    uint32_t m_u32NumColumnBytes; //!< Number of row bytes in read/write transactions.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:126:4: error: unknown type name 'uint32_t'
    uint32_t m_u32TotalInternalDie; //!< Number of separate chips in this NAND.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:127:4: error: unknown type name 'uint32_t'
    uint32_t m_u32InternalPlanesPerDie; //!< Number of internal planes - treat like separate chips.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:128:4: error: unknown type name 'uint32_t'
    uint32_t m_u32CellType; //!< MLC or SLC.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:129:4: error: unknown type name 'uint32_t'
    uint32_t m_u32ECCType; //!< 4 symbol or 8 symbol ECC?
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:132:4: error: unknown type name 'uint32_t'
    uint32_t m_u32EccBlock0Size; //!< Number of bytes for Block0 - BCH
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:133:4: error: unknown type name 'uint32_t'
    uint32_t m_u32EccBlockNSize; //!< Block size in bytes for all blocks other than Block0 - BCH
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:134:4: error: unknown type name 'uint32_t'
    uint32_t m_u32EccBlock0EccLevel; //!< Ecc level for Block 0 - BCH
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:135:4: error: unknown type name 'uint32_t'
    uint32_t m_u32NumEccBlocksPerPage; //!< Number of blocks per page - BCH
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:136:4: error: unknown type name 'uint32_t'
    uint32_t m_u32MetadataBytes; //!< Metadata size - BCH
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:137:4: error: unknown type name 'uint32_t'
    uint32_t m_u32EraseThreshold; //!< To set into BCH_MODE register.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:140:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Read1stCode; //!< First value sent to initiate a NAND Read sequence.
    ^
In file included from ../../imx-kobs-5.3/src/mtd.h:31:0,
                 from ../../imx-kobs-5.3/src/mtd.c:37:
../../imx-kobs-5.3/src/BootControlBlocks.h:58:2: error: unknown type name 'uint8_t'
  uint8_t m_u8DataSetup;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:59:2: error: unknown type name 'uint8_t'
  uint8_t m_u8DataHold;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:60:2: error: unknown type name 'uint8_t'
  uint8_t m_u8AddressSetup;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:61:2: error: unknown type name 'uint8_t'
  uint8_t m_u8DSAMPLE_TIME;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:88:2: error: unknown type name 'uint32_t'
  uint32_t m_u32FingerPrint1; //!< First fingerprint in first byte.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:141:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Read2ndCode; //!< Second value sent to initiate a NAND Read sequence.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:142:4: error: unknown type name 'uint32_t'
    uint32_t m_u32BootPatch;
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:143:4: error: unknown type name 'uint32_t'
    uint32_t m_u32PatchSectors;
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:144:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Firmware_startingNAND2;
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:147:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Firmware_startingNAND; //!< Firmware image starts on this NAND.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:148:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Firmware_startingSector; //!< Firmware image starts on this sector.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:149:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Firmware_sectorStride; //!< Amount to jump between sectors - unused in ROM.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:150:4: error: unknown type name 'uint32_t'
    uint32_t m_uSectorsInFirmware; //!< Number of sectors in firmware image.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:151:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Firmware_startingNAND2; //!< Secondary FW Image starting NAND.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:152:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Firmware_startingSector2; //!< Secondary FW Image starting Sector.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:153:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Firmware_sectorStride2; //!< Secondary FW Image stride - unused in ROM.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:154:4: error: unknown type name 'uint32_t'
    uint32_t m_uSectorsInFirmware2; //!< Number of sector in secondary FW image.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:156:5: error: unknown type name 'uint16_t'
     uint16_t m_u16Major;
     ^
../../imx-kobs-5.3/src/BootControlBlocks.h:157:5: error: unknown type name 'uint16_t'
     uint16_t m_u16Minor;
     ^
../../imx-kobs-5.3/src/BootControlBlocks.h:158:5: error: unknown type name 'uint16_t'
     uint16_t m_u16Sub;
     ^
../../imx-kobs-5.3/src/BootControlBlocks.h:159:5: error: unknown type name 'uint16_t'
     uint16_t m_u16Reserved;
     ^
../../imx-kobs-5.3/src/BootControlBlocks.h:161:4: error: unknown type name 'uint32_t'
    uint32_t m_u32DiscoveredBBTableSector; //!< Location of Discovered Bad Block Table (DBBT).
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:162:4: error: unknown type name 'uint32_t'
    uint32_t m_u32DiscoveredBBTableSector2; //!< Location of backup DBBT
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:165:3: error: unknown type name 'uint32_t'
   uint32_t m_Reserved2[20];
   ^
../../imx-kobs-5.3/src/BootControlBlocks.h:167:2: error: unknown type name 'uint32_t'
  uint32_t m_u32FingerPrint3; //!< 3rd fingerprint at byte 30.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:92:4: error: unknown type name 'uint32_t'
    uint32_t m_u32DataPageSize; //!< 2048 for 2K pages, 4096 for 4K pages.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:216:2: error: unknown type name 'uint32_t'
  uint32_t uNAND;  //!< Which NAND this table is for.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:93:4: error: unknown type name 'uint32_t'
    uint32_t m_u32TotalPageSize; //!< 2112 for 2K pages, 4314 for 4K pages.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:217:2: error: unknown type name 'uint32_t'
  uint32_t uNumberBB; //!< Number of Bad Blocks in this NAND.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:220:2: error: unknown type name 'uint32_t'
  uint32_t u32BadBlock[(TYPICAL_NAND_READ_SIZE / 4) - 2]; //!< Table of the Bad Blocks.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:230:2: error: unknown type name 'uint8_t'
  uint8_t m_u8DataSetup;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:231:2: error: unknown type name 'uint8_t'
  uint8_t m_u8DataHold;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:232:2: error: unknown type name 'uint8_t'
  uint8_t m_u8AddressSetup;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:233:2: error: unknown type name 'uint8_t'
  uint8_t m_u8DSAMPLE_TIME;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:235:2: error: unknown type name 'uint8_t'
  uint8_t m_u8NandTimingState;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:236:2: error: unknown type name 'uint8_t'
  uint8_t m_u8REA;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:237:2: error: unknown type name 'uint8_t'
  uint8_t m_u8RLOH;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:238:2: error: unknown type name 'uint8_t'
  uint8_t m_u8RHOH;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:242:2: error: unknown type name 'uint32_t'
  uint32_t m_u32TMTiming2_ReadLatency;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:243:2: error: unknown type name 'uint32_t'
  uint32_t m_u32TMTiming2_PreambleDelay;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:244:2: error: unknown type name 'uint32_t'
  uint32_t m_u32TMTiming2_CEDelay;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:245:2: error: unknown type name 'uint32_t'
  uint32_t m_u32TMTiming2_PostambleDelay;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:246:2: error: unknown type name 'uint32_t'
  uint32_t m_u32TMTiming2_CmdAddPause;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:247:2: error: unknown type name 'uint32_t'
  uint32_t m_u32TMTiming2_DataPause;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:248:2: error: unknown type name 'uint32_t'
  uint32_t m_u32TMSpeed;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:249:2: error: unknown type name 'uint32_t'
  uint32_t m_u32TMTiming1_BusyTimeout;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:253:2: error: unknown type name 'uint32_t'
  uint32_t m_u32ONFISpeed;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:254:2: error: unknown type name 'uint32_t'
  uint32_t m_u32ONFITiming_ReadLatency;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:255:2: error: unknown type name 'uint32_t'
  uint32_t m_u32ONFITiming_CEDelay;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:256:2: error: unknown type name 'uint32_t'
  uint32_t m_u32ONFITiming_PreambleDelay;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:257:2: error: unknown type name 'uint32_t'
  uint32_t m_u32ONFITiming_PostambleDelay;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:258:2: error: unknown type name 'uint32_t'
  uint32_t m_u32ONFITiming_CmdAddPause;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:259:2: error: unknown type name 'uint32_t'
  uint32_t m_u32ONFITiming_DataPause;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:260:2: error: unknown type name 'uint32_t'
  uint32_t m_u32ONFITiming_BusyTimeout;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:265:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32PageDataSize;              //!< 2048 for 2K pages, 4096 for 4K pages.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:266:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32TotalPageSize;             //!< 2112 for 2K pages, 4314 for 4K pages.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:267:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32SectorsPerBlock;           //!< Number of 2K sections per block.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:268:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32NumberOfNANDs;             //!< Total Number of NANDs - not used by ROM.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:269:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32TotalInternalDie;          //!< Number of separate chips in this NAND.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:270:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32CellType;                  //!< MLC or SLC.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:271:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32EccBlockNEccType;          //!< Type of ECC, can be one of BCH-0-20
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:272:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32EccBlock0Size;             //!< Number of bytes for Block0 - BCH
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:273:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32EccBlockNSize;             //!< Block size in bytes for all blocks other than Block0 - BCH
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:274:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32EccBlock0EccType;          //!< Ecc level for Block 0 - BCH
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:275:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32MetadataBytes;             //!< Metadata size - BCH
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:276:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32NumEccBlocksPerPage;       //!< Number of blocks per page for ROM use - BCH
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:277:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32EccBlockNEccLevelSDK;      //!< Type of ECC, can be one of BCH-0-20
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:278:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32EccBlock0SizeSDK;          //!< Number of bytes for Block0 - BCH
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:279:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32EccBlockNSizeSDK;          //!< Block size in bytes for all blocks other than Block0 - BCH
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:280:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32EccBlock0EccLevelSDK;      //!< Ecc level for Block 0 - BCH
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:281:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32NumEccBlocksPerPageSDK;    //!< Number of blocks per page for SDK use - BCH
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:282:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32MetadataBytesSDK;          //!< Metadata size - BCH
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:283:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32EraseThreshold;            //!< To set into BCH_MODE register.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:284:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32BootPatch;                 //!< 0 for normal boot and 1 to load patch starting next to FCB.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:285:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32PatchSectors;              //!< Size of patch in sectors.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:286:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32Firmware1_startingPage;  //!< Firmware image starts on this sector.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:287:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32Firmware2_startingPage;  //!< Secondary FW Image starting Sector.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:288:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32PagesInFirmware1;        //!< Number of sectors in firmware image.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:289:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32PagesInFirmware2;        //!< Number of sector in secondary FW image.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:290:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32DBBTSearchAreaStartAddress;//!< Page address where dbbt search area begins
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:291:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32BadBlockMarkerByte;        //!< Byte in page data that have manufacturer marked bad block marker, this will
  ^
In file included from ../../imx-kobs-5.3/src/mtd.h:31:0,
                 from ../../imx-kobs-5.3/src/ncb.c:30:
../../imx-kobs-5.3/src/BootControlBlocks.h:293:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32BadBlockMarkerStartBit;    //!< For BCH ECC sizes other than 8 and 16 the bad block marker does not start
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:296:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32BBMarkerPhysicalOffset;    //!< FCB value that gives byte offset for bad block marker on physical NAND page.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:297:2: error: unknown type name 'uint32_t'
  uint32_t m_u32BCHType;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:299:2: error: unknown type name 'uint32_t'
  uint32_t m_u32DISBBM; /* the flag to enable (1)/disable(0) bi swap */
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:300:2: error: unknown type name 'uint32_t'
  uint32_t m_u32BBMarkerPhysicalOffsetInSpareData; /* The swap position of main area in spare area */
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:302:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32OnfiSyncEnable;            //!< Enable the Onfi nand sync mode support
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:304:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32DISBBSearch;               //!< Disable the badblock search when reading the firmware, only using DBBT.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:306:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32RandomizerEnable;          //!< Enable randomizer support
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:307:2: error: unknown type name 'uint32_t'
  uint32_t        reserved[15];
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:308:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32ReadRetryEnable;           //!< Enable ready retry support
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:94:4: error: unknown type name 'uint32_t'
    uint32_t m_u32SectorsPerBlock; //!< Number of 2K sections per block.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:309:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32ReadRetrySeqLength;        //!< Read retry sequence length
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:310:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32ReadRetrySeq[MAXSEQLEN];         //!< Read retry sequence length
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:95:4: error: unknown type name 'uint32_t'
    uint32_t m_u32SectorInPageMask; //!< Mask for handling pages > 2K.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:335:2: error: unknown type name 'uint32_t'
  uint32_t    m_u32Checksum;         //!< First fingerprint in first byte.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:336:2: error: unknown type name 'uint32_t'
  uint32_t    m_u32FingerPrint;      //!< 2nd fingerprint at byte 4.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:337:2: error: unknown type name 'uint32_t'
  uint32_t    m_u32Version;          //!< 3rd fingerprint at byte 8.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:342:5: error: unknown type name 'uint32_t'
     uint32_t m_u32NumberBB;  //!< # Bad Blocks stored in this table for NAND0.
     ^
../../imx-kobs-5.3/src/BootControlBlocks.h:343:5: error: unknown type name 'uint32_t'
     uint32_t m_u32Number2KPagesBB; //!< Bad Blocks for NAND0 consume this # of 2K pages.
     ^
../../imx-kobs-5.3/src/BootControlBlocks.h:346:5: error: unknown type name 'uint32_t'
     uint32_t m_u32res;
     ^
../../imx-kobs-5.3/src/BootControlBlocks.h:347:5: error: unknown type name 'uint32_t'
     uint32_t m_u32DBBTNumOfPages;
     ^
../../imx-kobs-5.3/src/BootControlBlocks.h:96:4: error: unknown type name 'uint32_t'
    uint32_t m_u32SectorToPageShift; //!< Address shift for handling pages > 2K.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:97:4: error: unknown type name 'uint32_t'
    uint32_t m_u32NumberOfNANDs; //!< Total Number of NANDs - not used by ROM.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:101:5: error: unknown type name 'uint16_t'
     uint16_t m_u16Major;
     ^
../../imx-kobs-5.3/src/BootControlBlocks.h:102:5: error: unknown type name 'uint16_t'
     uint16_t m_u16Minor;
     ^
../../imx-kobs-5.3/src/BootControlBlocks.h:103:5: error: unknown type name 'uint16_t'
     uint16_t m_u16Sub;
     ^
../../imx-kobs-5.3/src/BootControlBlocks.h:104:5: error: unknown type name 'uint16_t'
     uint16_t m_u16Reserved;
     ^
../../imx-kobs-5.3/src/BootControlBlocks.h:106:4: error: unknown type name 'uint32_t'
    uint32_t m_u32NANDBitmap; //!< bit 0 == NAND 0, bit 1 == NAND 1, bit 2 = NAND 2, bit 3 = NAND3
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:109:4: error: unknown type name 'uint32_t'
    uint32_t m_u32NumberBB_NAND0; //!< # Bad Blocks stored in this table for NAND0.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:110:4: error: unknown type name 'uint32_t'
    uint32_t m_u32NumberBB_NAND1; //!< # Bad Blocks stored in this table for NAND1.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:111:4: error: unknown type name 'uint32_t'
    uint32_t m_u32NumberBB_NAND2; //!< # Bad Blocks stored in this table for NAND2.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:112:4: error: unknown type name 'uint32_t'
    uint32_t m_u32NumberBB_NAND3; //!< # Bad Blocks stored in this table for NAND3.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:113:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Number2KPagesBB_NAND0; //!< Bad Blocks for NAND0 consume this # of 2K pages.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:114:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Number2KPagesBB_NAND1; //!< Bad Blocks for NAND1 consume this # of 2K pages.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:115:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Number2KPagesBB_NAND2; //!< Bad Blocks for NAND2 consume this # of 2K pages.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:116:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Number2KPagesBB_NAND3; //!< Bad Blocks for NAND3 consume this # of 2K pages.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:119:3: error: unknown type name 'uint32_t'
   uint32_t m_Reserved1[10];
   ^
../../imx-kobs-5.3/src/BootControlBlocks.h:121:2: error: unknown type name 'uint32_t'
  uint32_t m_u32FingerPrint2; //!< 2nd fingerprint at byte 10.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:124:4: error: unknown type name 'uint32_t'
    uint32_t m_u32NumRowBytes; //!< Number of row bytes in read/write transactions.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:125:4: error: unknown type name 'uint32_t'
    uint32_t m_u32NumColumnBytes; //!< Number of row bytes in read/write transactions.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:126:4: error: unknown type name 'uint32_t'
    uint32_t m_u32TotalInternalDie; //!< Number of separate chips in this NAND.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:127:4: error: unknown type name 'uint32_t'
    uint32_t m_u32InternalPlanesPerDie; //!< Number of internal planes - treat like separate chips.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:128:4: error: unknown type name 'uint32_t'
    uint32_t m_u32CellType; //!< MLC or SLC.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:129:4: error: unknown type name 'uint32_t'
    uint32_t m_u32ECCType; //!< 4 symbol or 8 symbol ECC?
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:132:4: error: unknown type name 'uint32_t'
    uint32_t m_u32EccBlock0Size; //!< Number of bytes for Block0 - BCH
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:133:4: error: unknown type name 'uint32_t'
    uint32_t m_u32EccBlockNSize; //!< Block size in bytes for all blocks other than Block0 - BCH
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:134:4: error: unknown type name 'uint32_t'
    uint32_t m_u32EccBlock0EccLevel; //!< Ecc level for Block 0 - BCH
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:135:4: error: unknown type name 'uint32_t'
    uint32_t m_u32NumEccBlocksPerPage; //!< Number of blocks per page - BCH
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:136:4: error: unknown type name 'uint32_t'
    uint32_t m_u32MetadataBytes; //!< Metadata size - BCH
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:137:4: error: unknown type name 'uint32_t'
    uint32_t m_u32EraseThreshold; //!< To set into BCH_MODE register.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:140:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Read1stCode; //!< First value sent to initiate a NAND Read sequence.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:141:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Read2ndCode; //!< Second value sent to initiate a NAND Read sequence.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:142:4: error: unknown type name 'uint32_t'
    uint32_t m_u32BootPatch;
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:143:4: error: unknown type name 'uint32_t'
    uint32_t m_u32PatchSectors;
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:144:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Firmware_startingNAND2;
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:147:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Firmware_startingNAND; //!< Firmware image starts on this NAND.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:148:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Firmware_startingSector; //!< Firmware image starts on this sector.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:149:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Firmware_sectorStride; //!< Amount to jump between sectors - unused in ROM.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:150:4: error: unknown type name 'uint32_t'
    uint32_t m_uSectorsInFirmware; //!< Number of sectors in firmware image.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:151:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Firmware_startingNAND2; //!< Secondary FW Image starting NAND.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:152:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Firmware_startingSector2; //!< Secondary FW Image starting Sector.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:153:4: error: unknown type name 'uint32_t'
    uint32_t m_u32Firmware_sectorStride2; //!< Secondary FW Image stride - unused in ROM.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:154:4: error: unknown type name 'uint32_t'
    uint32_t m_uSectorsInFirmware2; //!< Number of sector in secondary FW image.
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:156:5: error: unknown type name 'uint16_t'
     uint16_t m_u16Major;
     ^
../../imx-kobs-5.3/src/BootControlBlocks.h:157:5: error: unknown type name 'uint16_t'
     uint16_t m_u16Minor;
     ^
../../imx-kobs-5.3/src/BootControlBlocks.h:158:5: error: unknown type name 'uint16_t'
     uint16_t m_u16Sub;
     ^
../../imx-kobs-5.3/src/BootControlBlocks.h:159:5: error: unknown type name 'uint16_t'
     uint16_t m_u16Reserved;
     ^
../../imx-kobs-5.3/src/BootControlBlocks.h:161:4: error: unknown type name 'uint32_t'
    uint32_t m_u32DiscoveredBBTableSector; //!< Location of Discovered Bad Block Table (DBBT).
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:162:4: error: unknown type name 'uint32_t'
    uint32_t m_u32DiscoveredBBTableSector2; //!< Location of backup DBBT
    ^
../../imx-kobs-5.3/src/BootControlBlocks.h:165:3: error: unknown type name 'uint32_t'
   uint32_t m_Reserved2[20];
   ^
../../imx-kobs-5.3/src/BootControlBlocks.h:167:2: error: unknown type name 'uint32_t'
  uint32_t m_u32FingerPrint3; //!< 3rd fingerprint at byte 30.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:216:2: error: unknown type name 'uint32_t'
  uint32_t uNAND;  //!< Which NAND this table is for.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:217:2: error: unknown type name 'uint32_t'
  uint32_t uNumberBB; //!< Number of Bad Blocks in this NAND.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:220:2: error: unknown type name 'uint32_t'
  uint32_t u32BadBlock[(TYPICAL_NAND_READ_SIZE / 4) - 2]; //!< Table of the Bad Blocks.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:230:2: error: unknown type name 'uint8_t'
  uint8_t m_u8DataSetup;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:231:2: error: unknown type name 'uint8_t'
  uint8_t m_u8DataHold;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:232:2: error: unknown type name 'uint8_t'
  uint8_t m_u8AddressSetup;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:233:2: error: unknown type name 'uint8_t'
  uint8_t m_u8DSAMPLE_TIME;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:235:2: error: unknown type name 'uint8_t'
  uint8_t m_u8NandTimingState;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:236:2: error: unknown type name 'uint8_t'
  uint8_t m_u8REA;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:237:2: error: unknown type name 'uint8_t'
  uint8_t m_u8RLOH;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:238:2: error: unknown type name 'uint8_t'
  uint8_t m_u8RHOH;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:242:2: error: unknown type name 'uint32_t'
  uint32_t m_u32TMTiming2_ReadLatency;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:243:2: error: unknown type name 'uint32_t'
  uint32_t m_u32TMTiming2_PreambleDelay;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:244:2: error: unknown type name 'uint32_t'
  uint32_t m_u32TMTiming2_CEDelay;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:245:2: error: unknown type name 'uint32_t'
  uint32_t m_u32TMTiming2_PostambleDelay;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:246:2: error: unknown type name 'uint32_t'
  uint32_t m_u32TMTiming2_CmdAddPause;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:247:2: error: unknown type name 'uint32_t'
  uint32_t m_u32TMTiming2_DataPause;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:248:2: error: unknown type name 'uint32_t'
  uint32_t m_u32TMSpeed;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:249:2: error: unknown type name 'uint32_t'
  uint32_t m_u32TMTiming1_BusyTimeout;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:253:2: error: unknown type name 'uint32_t'
  uint32_t m_u32ONFISpeed;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:254:2: error: unknown type name 'uint32_t'
  uint32_t m_u32ONFITiming_ReadLatency;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:255:2: error: unknown type name 'uint32_t'
  uint32_t m_u32ONFITiming_CEDelay;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:256:2: error: unknown type name 'uint32_t'
  uint32_t m_u32ONFITiming_PreambleDelay;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:257:2: error: unknown type name 'uint32_t'
  uint32_t m_u32ONFITiming_PostambleDelay;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:258:2: error: unknown type name 'uint32_t'
  uint32_t m_u32ONFITiming_CmdAddPause;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:259:2: error: unknown type name 'uint32_t'
  uint32_t m_u32ONFITiming_DataPause;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:260:2: error: unknown type name 'uint32_t'
  uint32_t m_u32ONFITiming_BusyTimeout;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:265:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32PageDataSize;              //!< 2048 for 2K pages, 4096 for 4K pages.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:266:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32TotalPageSize;             //!< 2112 for 2K pages, 4314 for 4K pages.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:267:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32SectorsPerBlock;           //!< Number of 2K sections per block.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:268:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32NumberOfNANDs;             //!< Total Number of NANDs - not used by ROM.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:269:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32TotalInternalDie;          //!< Number of separate chips in this NAND.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:270:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32CellType;                  //!< MLC or SLC.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:271:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32EccBlockNEccType;          //!< Type of ECC, can be one of BCH-0-20
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:272:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32EccBlock0Size;             //!< Number of bytes for Block0 - BCH
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:273:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32EccBlockNSize;             //!< Block size in bytes for all blocks other than Block0 - BCH
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:274:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32EccBlock0EccType;          //!< Ecc level for Block 0 - BCH
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:275:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32MetadataBytes;             //!< Metadata size - BCH
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:276:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32NumEccBlocksPerPage;       //!< Number of blocks per page for ROM use - BCH
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:277:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32EccBlockNEccLevelSDK;      //!< Type of ECC, can be one of BCH-0-20
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:278:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32EccBlock0SizeSDK;          //!< Number of bytes for Block0 - BCH
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:279:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32EccBlockNSizeSDK;          //!< Block size in bytes for all blocks other than Block0 - BCH
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:280:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32EccBlock0EccLevelSDK;      //!< Ecc level for Block 0 - BCH
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:281:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32NumEccBlocksPerPageSDK;    //!< Number of blocks per page for SDK use - BCH
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:282:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32MetadataBytesSDK;          //!< Metadata size - BCH
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:283:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32EraseThreshold;            //!< To set into BCH_MODE register.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:284:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32BootPatch;                 //!< 0 for normal boot and 1 to load patch starting next to FCB.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:285:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32PatchSectors;              //!< Size of patch in sectors.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:286:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32Firmware1_startingPage;  //!< Firmware image starts on this sector.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:287:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32Firmware2_startingPage;  //!< Secondary FW Image starting Sector.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:288:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32PagesInFirmware1;        //!< Number of sectors in firmware image.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:289:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32PagesInFirmware2;        //!< Number of sector in secondary FW image.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:290:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32DBBTSearchAreaStartAddress;//!< Page address where dbbt search area begins
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:291:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32BadBlockMarkerByte;        //!< Byte in page data that have manufacturer marked bad block marker, this will
  ^
In file included from ../../imx-kobs-5.3/src/mtd.h:31:0,
                 from ../../imx-kobs-5.3/src/mtd.c:37:
../../imx-kobs-5.3/src/BootControlBlocks.h:293:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32BadBlockMarkerStartBit;    //!< For BCH ECC sizes other than 8 and 16 the bad block marker does not start
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:296:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32BBMarkerPhysicalOffset;    //!< FCB value that gives byte offset for bad block marker on physical NAND page.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:297:2: error: unknown type name 'uint32_t'
  uint32_t m_u32BCHType;
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:299:2: error: unknown type name 'uint32_t'
  uint32_t m_u32DISBBM; /* the flag to enable (1)/disable(0) bi swap */
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:300:2: error: unknown type name 'uint32_t'
  uint32_t m_u32BBMarkerPhysicalOffsetInSpareData; /* The swap position of main area in spare area */
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:302:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32OnfiSyncEnable;            //!< Enable the Onfi nand sync mode support
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:304:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32DISBBSearch;               //!< Disable the badblock search when reading the firmware, only using DBBT.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:306:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32RandomizerEnable;          //!< Enable randomizer support
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:307:2: error: unknown type name 'uint32_t'
  uint32_t        reserved[15];
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:308:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32ReadRetryEnable;           //!< Enable ready retry support
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:309:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32ReadRetrySeqLength;        //!< Read retry sequence length
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:310:2: error: unknown type name 'uint32_t'
  uint32_t        m_u32ReadRetrySeq[MAXSEQLEN];         //!< Read retry sequence length
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:335:2: error: unknown type name 'uint32_t'
  uint32_t    m_u32Checksum;         //!< First fingerprint in first byte.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:336:2: error: unknown type name 'uint32_t'
  uint32_t    m_u32FingerPrint;      //!< 2nd fingerprint at byte 4.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:337:2: error: unknown type name 'uint32_t'
  uint32_t    m_u32Version;          //!< 3rd fingerprint at byte 8.
  ^
../../imx-kobs-5.3/src/BootControlBlocks.h:342:5: error: unknown type name 'uint32_t'
     uint32_t m_u32NumberBB;  //!< # Bad Blocks stored in this table for NAND0.
     ^
../../imx-kobs-5.3/src/BootControlBlocks.h:343:5: error: unknown type name 'uint32_t'
     uint32_t m_u32Number2KPagesBB; //!< Bad Blocks for NAND0 consume this # of 2K pages.
     ^
../../imx-kobs-5.3/src/BootControlBlocks.h:346:5: error: unknown type name 'uint32_t'
     uint32_t m_u32res;
     ^
../../imx-kobs-5.3/src/BootControlBlocks.h:347:5: error: unknown type name 'uint32_t'
     uint32_t m_u32DBBTNumOfPages;
     ^
Makefile:367: recipe for target 'ncb.o' failed
make[1]: *** [ncb.o] Error 1
make[1]: *** Waiting for unfinished jobs....
../../imx-kobs-5.3/src/main.c: In function 'extract_main':
../../imx-kobs-5.3/src/main.c:171:9: warning: variable 'j' set but not used [-Wunused-but-set-variable]
  int i, j, r;
         ^
../../imx-kobs-5.3/src/main.c: In function 'update_main':
../../imx-kobs-5.3/src/main.c:446:9: warning: variable 'j' set but not used [-Wunused-but-set-variable]
  int i, j, r;
         ^
../../imx-kobs-5.3/src/main.c: In function 'init_main':
../../imx-kobs-5.3/src/main.c:591:13: warning: variable 'image' set but not used [-Wunused-but-set-variable]
  int flags, image;
             ^
../../imx-kobs-5.3/src/main.c:589:9: warning: variable 'j' set but not used [-Wunused-but-set-variable]
  int i, j, r;
         ^
../../imx-kobs-5.3/src/main.c: In function 'imgverify_main':
../../imx-kobs-5.3/src/main.c:756:9: warning: variable 'j' set but not used [-Wunused-but-set-variable]
  int i, j;
         ^
../../imx-kobs-5.3/src/mtd.c: In function 'mtd_read_page':
../../imx-kobs-5.3/src/mtd.c:256:8: warning: variable 'oobdata' set but not used [-Wunused-but-set-variable]
  void *oobdata;
        ^
../../imx-kobs-5.3/src/mtd.c: In function 'mtd_write_page':
../../imx-kobs-5.3/src/mtd.c:334:14: warning: variable 'oobdata' set but not used [-Wunused-but-set-variable]
  const void *oobdata;
              ^
../../imx-kobs-5.3/src/mtd.c: At top level:
../../imx-kobs-5.3/src/mtd.c:424:28: warning: 'none_oobinfo' defined but not used [-Wunused-variable]
 static struct nand_oobinfo none_oobinfo = { .useecc = MTD_NANDECC_OFF };
                            ^
Makefile:367: recipe for target 'mtd.o' failed
make[1]: *** [mtd.o] Error 1
make[1]: Leaving directory '/local/imx6ul_2016-02-22/tmp/work/cortexa7hf-neon-amltd-linux-gnueabi/imx-kobs/5.3-r0/build/src'
Makefile:342: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /local/imx6ul_2016-02-22/tmp/work/cortexa7hf-neon-amltd-linux-gnueabi/imx-kobs/5.3-r0/temp/log.do_compile.22500)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-fsl-arm] kobs-ng tool?
  2016-04-13 14:04   ` Gary Thomas
@ 2016-04-13 14:13     ` Otavio Salvador
  2016-04-14  6:30       ` Gary Thomas
  2016-04-13 14:15     ` Gary Thomas
  1 sibling, 1 reply; 9+ messages in thread
From: Otavio Salvador @ 2016-04-13 14:13 UTC (permalink / raw)
  To: Gary Thomas; +Cc: meta-freescale

On Wed, Apr 13, 2016 at 11:04 AM, Gary Thomas <gary@mlbassoc.com> wrote:
> On 2016-04-13 15:38, Otavio Salvador wrote:
>>
>> On Wed, Apr 13, 2016 at 8:48 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>>>
>>> I have a recipe (don't recall where I found it, it was a while ago)
>>> for kobs-ng_3.0.35-4.1.0.bb
>>>
>>> The tool created by this recipe doesn't seem to work with my i.MX6UL
>>> target and indeed the NAND image created does not come close to matching
>>> what the FreeScale manufacturing tool creates using the same U-Boot
>>> image.
>>>
>>> Does anyone know where I can find a more recent tool (I tried the
>>> cited website and ended up in Russia!)?  I really need to get this
>>> working with my i.MX6UL target.
>>
>>
>> imx-kobs ;-)
>
>
> Sadly, that's not building for my target.
>
> MACHINE           = "imx6ulevk"
> meta              = "master:778121ab844af623a215430ba579a5fb3947928b"
> meta-fsl-arm      = "master:cec4c47e33979631e85e2c933cea5182da61ad82"
>
> Error log attached.  Any ideas?

Not on top of my head.

Maybe someone inside NXP might help?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-fsl-arm] kobs-ng tool?
  2016-04-13 14:04   ` Gary Thomas
  2016-04-13 14:13     ` Otavio Salvador
@ 2016-04-13 14:15     ` Gary Thomas
  2016-04-14 18:14       ` Lauren Post
  1 sibling, 1 reply; 9+ messages in thread
From: Gary Thomas @ 2016-04-13 14:15 UTC (permalink / raw)
  To: meta-freescale

On 2016-04-13 16:04, Gary Thomas wrote:
> On 2016-04-13 15:38, Otavio Salvador wrote:
>> On Wed, Apr 13, 2016 at 8:48 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>>> I have a recipe (don't recall where I found it, it was a while ago)
>>> for kobs-ng_3.0.35-4.1.0.bb
>>>
>>> The tool created by this recipe doesn't seem to work with my i.MX6UL
>>> target and indeed the NAND image created does not come close to matching
>>> what the FreeScale manufacturing tool creates using the same U-Boot
>>> image.
>>>
>>> Does anyone know where I can find a more recent tool (I tried the
>>> cited website and ended up in Russia!)?  I really need to get this
>>> working with my i.MX6UL target.
>>
>> imx-kobs ;-)
>
> Sadly, that's not building for my target.
>
> MACHINE           = "imx6ulevk"
> meta              = "master:778121ab844af623a215430ba579a5fb3947928b"
> meta-fsl-arm      = "master:cec4c47e33979631e85e2c933cea5182da61ad82"
>
> Error log attached.  Any ideas?

BTW, I'm still using GCC-4.9.3

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-fsl-arm] kobs-ng tool?
  2016-04-13 14:13     ` Otavio Salvador
@ 2016-04-14  6:30       ` Gary Thomas
  2016-04-14 12:39         ` Otavio Salvador
  0 siblings, 1 reply; 9+ messages in thread
From: Gary Thomas @ 2016-04-14  6:30 UTC (permalink / raw)
  To: meta-freescale

On 2016-04-13 16:13, Otavio Salvador wrote:
> On Wed, Apr 13, 2016 at 11:04 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>> On 2016-04-13 15:38, Otavio Salvador wrote:
>>>
>>> On Wed, Apr 13, 2016 at 8:48 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>>>>
>>>> I have a recipe (don't recall where I found it, it was a while ago)
>>>> for kobs-ng_3.0.35-4.1.0.bb
>>>>
>>>> The tool created by this recipe doesn't seem to work with my i.MX6UL
>>>> target and indeed the NAND image created does not come close to matching
>>>> what the FreeScale manufacturing tool creates using the same U-Boot
>>>> image.
>>>>
>>>> Does anyone know where I can find a more recent tool (I tried the
>>>> cited website and ended up in Russia!)?  I really need to get this
>>>> working with my i.MX6UL target.
>>>
>>>
>>> imx-kobs ;-)
>>
>>
>> Sadly, that's not building for my target.
>>
>> MACHINE           = "imx6ulevk"
>> meta              = "master:778121ab844af623a215430ba579a5fb3947928b"
>> meta-fsl-arm      = "master:cec4c47e33979631e85e2c933cea5182da61ad82"
>>
>> Error log attached.  Any ideas?
>
> Not on top of my head.
>
> Maybe someone inside NXP might help?
>

I generated a patch for this problem but the recipe (and sources)
are scant on details.  Anyone know where I should send the patch
upstream, and/or discuss issues with this tool?

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-fsl-arm] kobs-ng tool?
  2016-04-14  6:30       ` Gary Thomas
@ 2016-04-14 12:39         ` Otavio Salvador
  2016-04-14 12:42           ` Gary Thomas
  0 siblings, 1 reply; 9+ messages in thread
From: Otavio Salvador @ 2016-04-14 12:39 UTC (permalink / raw)
  To: Gary Thomas; +Cc: meta-freescale

On Thu, Apr 14, 2016 at 3:30 AM, Gary Thomas <gary@mlbassoc.com> wrote:
> On 2016-04-13 16:13, Otavio Salvador wrote:
>>
>> On Wed, Apr 13, 2016 at 11:04 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>>>
>>> On 2016-04-13 15:38, Otavio Salvador wrote:
>>>>
>>>>
>>>> On Wed, Apr 13, 2016 at 8:48 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>>>>>
>>>>>
>>>>> I have a recipe (don't recall where I found it, it was a while ago)
>>>>> for kobs-ng_3.0.35-4.1.0.bb
>>>>>
>>>>> The tool created by this recipe doesn't seem to work with my i.MX6UL
>>>>> target and indeed the NAND image created does not come close to
>>>>> matching
>>>>> what the FreeScale manufacturing tool creates using the same U-Boot
>>>>> image.
>>>>>
>>>>> Does anyone know where I can find a more recent tool (I tried the
>>>>> cited website and ended up in Russia!)?  I really need to get this
>>>>> working with my i.MX6UL target.
>>>>
>>>>
>>>>
>>>> imx-kobs ;-)
>>>
>>>
>>>
>>> Sadly, that's not building for my target.
>>>
>>> MACHINE           = "imx6ulevk"
>>> meta              = "master:778121ab844af623a215430ba579a5fb3947928b"
>>> meta-fsl-arm      = "master:cec4c47e33979631e85e2c933cea5182da61ad82"
>>>
>>> Error log attached.  Any ideas?
>>
>>
>> Not on top of my head.
>>
>> Maybe someone inside NXP might help?
>>
>
> I generated a patch for this problem but the recipe (and sources)
> are scant on details.  Anyone know where I should send the patch
> upstream, and/or discuss issues with this tool?

Update the recipe and add the patch; it is likely to be taken for next
BSP release.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-fsl-arm] kobs-ng tool?
  2016-04-14 12:39         ` Otavio Salvador
@ 2016-04-14 12:42           ` Gary Thomas
  0 siblings, 0 replies; 9+ messages in thread
From: Gary Thomas @ 2016-04-14 12:42 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale

On 2016-04-14 14:39, Otavio Salvador wrote:
> On Thu, Apr 14, 2016 at 3:30 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>> On 2016-04-13 16:13, Otavio Salvador wrote:
>>>
>>> On Wed, Apr 13, 2016 at 11:04 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>>>>
>>>> On 2016-04-13 15:38, Otavio Salvador wrote:
>>>>>
>>>>>
>>>>> On Wed, Apr 13, 2016 at 8:48 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>>>>>>
>>>>>>
>>>>>> I have a recipe (don't recall where I found it, it was a while ago)
>>>>>> for kobs-ng_3.0.35-4.1.0.bb
>>>>>>
>>>>>> The tool created by this recipe doesn't seem to work with my i.MX6UL
>>>>>> target and indeed the NAND image created does not come close to
>>>>>> matching
>>>>>> what the FreeScale manufacturing tool creates using the same U-Boot
>>>>>> image.
>>>>>>
>>>>>> Does anyone know where I can find a more recent tool (I tried the
>>>>>> cited website and ended up in Russia!)?  I really need to get this
>>>>>> working with my i.MX6UL target.
>>>>>
>>>>>
>>>>>
>>>>> imx-kobs ;-)
>>>>
>>>>
>>>>
>>>> Sadly, that's not building for my target.
>>>>
>>>> MACHINE           = "imx6ulevk"
>>>> meta              = "master:778121ab844af623a215430ba579a5fb3947928b"
>>>> meta-fsl-arm      = "master:cec4c47e33979631e85e2c933cea5182da61ad82"
>>>>
>>>> Error log attached.  Any ideas?
>>>
>>>
>>> Not on top of my head.
>>>
>>> Maybe someone inside NXP might help?
>>>
>>
>> I generated a patch for this problem but the recipe (and sources)
>> are scant on details.  Anyone know where I should send the patch
>> upstream, and/or discuss issues with this tool?
>
> Update the recipe and add the patch; it is likely to be taken for next
> BSP release.
>

Sure, I'll do that.

Is there no way to contact upstream?  There are no pointers in the
recipe nor the sources.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-fsl-arm] kobs-ng tool?
  2016-04-13 14:15     ` Gary Thomas
@ 2016-04-14 18:14       ` Lauren Post
  0 siblings, 0 replies; 9+ messages in thread
From: Lauren Post @ 2016-04-14 18:14 UTC (permalink / raw)
  To: Gary Thomas, meta-freescale

imx-kobs is kobs-ng from 3.0.35.  You need to use our latest version 5.4 in master or 5.3 in Jethro.  i.MX6ul is only supported on the latest Jethro (and more support on master).

-----Original Message-----
From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org] On Behalf Of Gary Thomas
Sent: Wednesday, April 13, 2016 9:15 AM
To: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] [meta-fsl-arm] kobs-ng tool?

On 2016-04-13 16:04, Gary Thomas wrote:
> On 2016-04-13 15:38, Otavio Salvador wrote:
>> On Wed, Apr 13, 2016 at 8:48 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>>> I have a recipe (don't recall where I found it, it was a while ago) 
>>> for kobs-ng_3.0.35-4.1.0.bb
>>>
>>> The tool created by this recipe doesn't seem to work with my i.MX6UL 
>>> target and indeed the NAND image created does not come close to 
>>> matching what the FreeScale manufacturing tool creates using the 
>>> same U-Boot image.
>>>
>>> Does anyone know where I can find a more recent tool (I tried the 
>>> cited website and ended up in Russia!)?  I really need to get this 
>>> working with my i.MX6UL target.
>>
>> imx-kobs ;-)
>
> Sadly, that's not building for my target.
>
> MACHINE           = "imx6ulevk"
> meta              = "master:778121ab844af623a215430ba579a5fb3947928b"
> meta-fsl-arm      = "master:cec4c47e33979631e85e2c933cea5182da61ad82"
>
> Error log attached.  Any ideas?

BTW, I'm still using GCC-4.9.3

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
--
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-04-14 18:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-13 11:48 [meta-fsl-arm] kobs-ng tool? Gary Thomas
2016-04-13 13:38 ` Otavio Salvador
2016-04-13 14:04   ` Gary Thomas
2016-04-13 14:13     ` Otavio Salvador
2016-04-14  6:30       ` Gary Thomas
2016-04-14 12:39         ` Otavio Salvador
2016-04-14 12:42           ` Gary Thomas
2016-04-13 14:15     ` Gary Thomas
2016-04-14 18:14       ` Lauren Post

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.