Josh Coombs [off-list ref] writes:
Thomas, Andrew,
You were both correct. After one additional test failure last night
and a lot more reading I reached the same conclusion, I was foolishly
thinking .dtbs would be automatically appended to the kernel when
configured to support that method of including them.
What I did this morning:
make
make kirkwood-goflexnet.dtb
cat arch/arm/boot/kirkwood-goflexnet.dtb >> arch/arm/boot/zImage
make uImage
That resulted in: http://pastie.org/4092019
[ 18.294288] [<c055f99c>] (kirkwood_init+0x50/0x7c) from [<c056023c>] (goflexnet_init+0x8/0x7c)
seems wrong. You don't have to call kirkwood_init() in DT case afaik.
Arnaud
quoted
What I did this morning:
make
make kirkwood-goflexnet.dtb
cat arch/arm/boot/kirkwood-goflexnet.dtb >> arch/arm/boot/zImage
make uImage
That resulted in: http://pastie.org/4092019
[ ? 18.294288] [<c055f99c>] (kirkwood_init+0x50/0x7c) from [<c056023c>] (goflexnet_init+0x8/0x7c)
seems wrong. You don't have to call kirkwood_init() in DT case afaik.
Arnaud
You're correct Arnaud, chalk that up to another rookie mistake on my
part. So close now. Correcting goflexnet_init, I now only get one
bit of noise during init, seems to be related to cfq? The kernel sees
my drives and volumes, but it's still not proceeding to mount a rootfs
and proceed with the boot.
http://pastie.org/4095067
My next line of thought is to tweak my kernel conf so I'm just using
noop, and to specify my rootfs as a compiled in kernel arg to see if
there is something going on with how uboot args are getting passed on.
I'd expect it to complain about a missing rootfs if it wasn't getting
that string but I'm not sure how else to verify correct behavior.
Josh C
Decided to backtrack a bit. I rolled my setup into 3.4.2 to see what
happens as I'm currently running that version via a non-DTS based
patch right now. Same behavior, the kernel initializes but stops
before attaching a root device and firing up init.
I've got a couple more hacks to try next to see if I can pinpoint
what's keeping my GoFlex from working when other similar Kirkwoods
seem to play with DTS kernels just fine.
Josh Coombs