Skip to content

samsung-a5: fb_convert_to_xrgb8888 causes data fault #2

@samcday

Description

@samcday

When booting U-Boot with lk2nd.pass-simplefb=uboot command line, the following exception is triggered in lk2nd:

[670] simplefb: switching to xrgb888 because u-boot can't do 24
[720] data abort
[720] translation fault on write
[720] DFAR 0x8e300000 (fault address)
[720] DFSR 0x805 (fault status register)
[730] data abort, halting
[730] r0  0x8e300000 r1  0x90300020 r2  0x00083fc0 r3  0x1e000000
[740] r4  0xbf000000 r5  0x00000000 r6  0x00000000 r7  0x00000000
[740] r8  0x33000000 r9  0x01000000 r10 0x00000000 r11 0x00000000
[750] r12 0x01a15000 usp 0x00000000 ulr 0x00000000 pc  0x8f6213a0
[750] spsr 0x20000153
[760]  fiq r13 0x8f649000 r14 0x864001b8
[760]  irq r13 0x8f655260 r14 0x8f60ca28
[760] *svc r13 0x8f684d00 r14 0x8f62b334
[770]  und r13 0x8f649000 r14 0xffbce774
[770]  sys r13 0x00000000 r14 0x00000000
[770] bottom of stack at 0x8f684d00:
0x8f684d00: 8f67ee14 81e00000 8f644100 8f644140 |..g......Ad..Ad.|
0x8f684d10: 00000000 00000000 8e000000 8f67ee14 |..............g.|
0x8f684d20: 90000000 8f62b334 8f68dd84 4b3f9c01 |......b...h....K|
0x8f684d30: 8f63eb04 00000001 8f68dd84 8f62afdc |..c.......h...b.|
0x8f684d40: 0000c704 4b3f9c01 0000c6e8 81e00000 |.......K........|
0x8f684d50: 81e0c724 6f6f6275 81e00074 ffffffff |....uboot.......|
0x8f684d60: 00000015 4b3f9c01 8f63af89 8f63af81 |.......K..c...c.|
0x8f684d70: 8f63af89 00001d64 81e00000 8f623200 |..c.d.........b.|
$ addr2line -e build-lk2nd-msm8916/lk 0x8f6213a0
/var/home/sam/src/lk2nd/lib/libc/string/arch/arm/memcpy.S:87

Manually commenting out mdp_set_xrgb8888 and instead using mdp_set_rgb565 does work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions