Skip to content

Module required for chainloading boot to USB seems to be compiled only as a module #9

Closed

Description

@Hexxeh

I'm trying to chainload boot from the kernel on the SD card to a rootFS stored on a USB stick (for better read/write speeds, but also because my rootFS needs to be on a GPT-formatted disk).

It appears a module required to use a USB stick with the Pi is only compiled as a module: ./3.1.9+/kernel/drivers/usb/storage/uas.ko

Can this be changed in the default config, and therefore in the binaries provided in the firmware repo?

Activity

  1. asb commented on Apr 17, 2012

    @asb

    This sounds like a reasonable request. I think we'd looked at including only the minimal required modules to boot...but then stretch that to include enough for e.g. nfsroot because that's handy. A similar argument applies here.

    If you have time to test and let us know exactly what CONFIG_* defines you need, that would be helpful.

  2. Hexxeh commented on Apr 18, 2012

    @Hexxeh
    Author

    CONFIG_USB_STORAGE=y
    CONFIG_USB_UAS=y
    CONFIG_BLK_DEV_SD=y

    Those three options seem to do the trick for me.

    Getting roughly 3.5x the read speeds from a USB stick compared to what I got from a Class 4 SD card (and a crappy USB stick at that!)

  3. Hexxeh commented on Apr 28, 2012

    @Hexxeh
    Author

    Looks like this has appeared in the latest binaries, thanks!

  4. 230 remaining items

  5. added a commit that references this issue on Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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