Last active
April 16, 2023 05:42
-
-
Save fgrep/9526c996906f1109d3c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Use the serial console to access u-boot and run the following commands | |
- To boot once: | |
setenv boot_freebsd 'fatload usb 0 $loadaddr kernel/kernel ; bootoctlinux $loadaddr coremask=0x3' | |
setenv bootdelay 5 | |
saveenv | |
run boot_freebsd | |
- Make boot to FreeBSD default: | |
setenv bootcmd_orig $(bootcmd) | |
setenv bootcmd 'run boot_freebsd' | |
saveenv | |
reset | |
- To undo: | |
setenv bootcmd $(bootcmd_orig) | |
saveenv | |
reset | |
- If you are going to use mpd as a pppoe server set this variables on u-boot | |
setenv net.graph.maxdata 40960 | |
setenv net.graph.maxalloc 40960 | |
saveenv | |
Then set add this line to /etc/sysctl.conf | |
kern.ipc.nmbclusters=62508 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment