[U-Boot] [PATCH] getting ubifs to run

Travis Waters
2016-09-26T04:43:56Z

Thanks for the response. I went ahead and used the current patch as-is,
which allowed me to build. I haven't yet verified whether the result is
functional, though. (We are probably a couple weeks out from having our
FLASH driver in place). I'll let you know what we find.
-Travis

On Sep 25, 2016 10:38 PM, "Heiko Schocher" <hs@denx.de> wrote:

> Hello Travis,
>
> Am 21.09.2016 um 22:05 schrieb Travis Waters:
>
>> Hello,
>>
>> I am working to enable UBIFS for use on the sparc platform and I am
>> running
>> into the same linking trouble flagged in this thread:
>>
>> uboot/fs/ubifs/lpt_commit.c:1232: undefined reference to
>> `dbg_chk_lpt_free_spc'
>> uboot/fs/ubifs/lpt_commit.c:1235: undefined reference to `dbg_check_ltab'
>> fs/built-in.o: In function `layout_cnodes':
>> uboot/fs/ubifs/lpt_commit.c:195: undefined reference to `dbg_chk_lpt_sz'
>> uboot/fs/ubifs/lpt_commit.c:211: undefined reference to `dbg_chk_lpt_sz'
>> uboot/fs/ubifs/lpt_commit.c:219: undefined reference to `dbg_chk_lpt_sz'
>> uboot/fs/ubifs/lpt_commit.c:233: undefined reference to `dbg_chk_lpt_sz'
>> uboot/fs/ubifs/lpt_commit.c:246: undefined reference to `dbg_chk_lpt_sz'
>> fs/built-in.o:uboot/fs/ubifs/lpt_commit.c:254: more undefined references
>> to
>> `dbg_chk_lpt_sz' follow
>> fs/built-in.o: In function `layout_cnodes':
>> uboot/fs/ubifs/lpt_commit.c:322: undefined reference to
>> `ubifs_dump_lpt_lebs'
>> fs/built-in.o: In function `ubifs_add_bud_to_log':
>> uboot/fs/ubifs/log.c:194: undefined reference to `ubifs_commit_required'
>> uboot/fs/ubifs/log.c:225: undefined reference to `ubifs_request_bg_commit'
>> uboot/fs/ubifs/log.c:265: undefined reference to `ubifs_write_node'
>> fs/built-in.o: In function `ubifs_log_end_commit':
>> uboot/fs/ubifs/log.c:479: undefined reference to `ubifs_write_master'
>> fs/built-in.o: In function `do_write_orph_node':
>> uboot/fs/ubifs/orphan.c:248: undefined reference to `ubifs_write_node'
>>
>>
>> What is the status of the patch that was addressing this?
>>
>
> Hmm... my last message to Marco (added to Cc) was, to split the patch
> into 2 pieces (one for the sparc fixes and one for the ubifs fixes)
>
> IIRC I saw a fix for the sparc errors, but none for ubifs ...
>
> bye,
> Heiko
> --
> DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
>