Skip to contentSkip to conversation

makedev questions

Buildroot William Wagner 2 participants 5 messages Apr 20, 2010

lore
Share & tools
lore
#0 lore raw

Hello,

Just trying to get everything working again following recent changes in git. After the makedev change I have a couple of questions.

Should the default value for BR2_PACKAGE_MAKEDEVS not be y? Without it you get a rootfs without any device nodes. Or am I missing something?

Also am I right to think that TARGET_DEVICE_TABLE has been removed? There still appears to be a reference to it at package\busybox\initramfs.mk(106): echo "$(HOST_DIR)/usr/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(BUILD_DIR)/initramfs"; \

Signature · 5 lines
------------------------------------------------------------------------
Will Wagner                                     will_wagner at carallon.com
Development Manager                      Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"William" == William Wagner <[email protected]> writes:

William> Hello,
William> Just trying to get everything working again following recent changes William> in git. After the makedev change I have a couple of questions.

William> Should the default value for BR2_PACKAGE_MAKEDEVS not be y? William> Without it you get a rootfs without any device nodes. Or am I William> missing something?

No, BR2_PACKAGE_MAKEDEVS is for compiling makedevs to run on the target (unlikely to be interesting).

Don't you have build/host-makedevs built? It seems to work here.

William> Also am I right to think that TARGET_DEVICE_TABLE has been removed?

Yes, it was removed in 64ec20e6c0 - Replaced by BR2_ROOTFS_DEVICE_TABLE.

William> There still appears to be a reference to it at
William> package\busybox\initramfs.mk(106): echo "$(HOST_DIR)/usr/bin/makedevs William> -d
William> $(TARGET_DEVICE_TABLE) $(BUILD_DIR)/initramfs"; \

That file isn't used anywhere - I've removed it now.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw
Quoted 6 lines · Peter Korsgaard
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

"William" == William Wagner<[email protected]> writes:

  William>  Hello,
  William>  Just trying to get everything working again following recent changes
  William>  in git. After the makedev change I have a couple of questions.
Quoted 10 lines
  William>  Should the default value for BR2_PACKAGE_MAKEDEVS not be y?
  William>  Without it you get a rootfs without any device nodes. Or am I
  William>  missing something?

No, BR2_PACKAGE_MAKEDEVS is for compiling makedevs to run on the target (unlikely to be interesting).

Don't you have build/host-makedevs built? It seems to work here.

Yes I do, just wasn't sure where I should be looking. Thanks

Signature · 5 lines
------------------------------------------------------------------------
Will Wagner                                     will_wagner at carallon.com
Development Manager                      Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------
#3 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"William" == William Wagner <[email protected]> writes:

Hi,

Quoted 1 line
Quoted 1 line

Don't you have build/host-makedevs built? It seems to work here.

William> Yes I do, just wasn't sure where I should be looking. Thanks

And you still don't get any device nodes in your filesystem? What fs type are you using?

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw
Quoted 12 lines · Peter Korsgaard
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

"William" == William Wagner<[email protected]> writes:

Hi,

Quoted 1 line
Quoted 1 line

Don't you have build/host-makedevs built? It seems to work here.

William> Yes I do, just wasn't sure where I should be looking. Thanks

And you still don't get any device nodes in your filesystem? What fs type are you using?

Initramfs, but I have been having a few issues elsewhere, including problems rebasing. I think I have fixed them all now and have a clean build going, so hopefully will be all fixed.

Signature · 5 lines
------------------------------------------------------------------------
Will Wagner                                     will_wagner at carallon.com
Development Manager                      Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------