File tree 3 files changed +30
-5
lines changed
projects/L4T/devices/Switch/packages/switch-bootloader
3 files changed +30
-5
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ Below you can find all supported keys and their defaults.
42
42
3: Enable serial logging on UART-C [Left Joycon Rail]
43
43
4: Enable serial logging on USB
44
44
45
- [fbconsole=1 ]
46
- 0: Enable kernel logging on built-in display.
45
+ [fbconsole=9 ]
46
+ 0: Enable kernel logging on built-in display, and disable splash screen
47
47
1: Enable kernel logging on DP/HDMI/VGA.
48
48
9: Or removed, disables kernel logging on any display.
49
49
@@ -80,6 +80,15 @@ Below you can find all supported keys and their defaults.
80
80
1: Set GPU clock hard limit to 1075 MHz. T210B01 only.
81
81
Helps when `gpu_dvfsc` is enabled and GPU can't handle the higher frequencies
82
82
in such low voltages.
83
+
84
+ [enable_ipv6=0]
85
+ 0: IPv6 Disabled (default)
86
+ 1: IPv6 Enabled
87
+
88
+ [enable_upfs = 0]
89
+ 0: upfs storage is disabled
90
+ 1: upfs storage is enabled(experimental): Keep FS permissions in ext4 partition image(Easier to clean)
91
+ 2: upfsps storage is enabled(experimental) Keep FS permission in storage dir in hidden files
83
92
================================================================================
84
93
85
94
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ test -n ${performance_mode} || setenv performance_mode 0
19
19
test -n ${dock_freq_switch_enabled} || setenv dock_freq_switch_enabled 0
20
20
test -n ${touch_skip_tuning} || setenv touch_skip_tuning 0
21
21
test -n ${wifi_disable_vht80} || setenv wifi_disable_vht80 0
22
+ test -n ${enable_ipv6} || setenv enable_ipv6 0
23
+ test -n ${enable_upfs} || setenv enable_upfs 0
22
24
23
25
# Built-in IMU.
24
26
test -n ${acc_cal_off_x} || setenv acc_cal_off_x 0x0
358
360
# Set default wifi mac. initramfs will/can change it.
359
361
if test -n ${device_wifi_mac}; then fdt set /chosen nvidia,wifi-mac ${device_wifi_mac}; fi
360
362
363
+ if test ${enable_ipv6} = 0; then
364
+ setenv bootargs_extra ${bootargs_extra} ipv6.disable=1
365
+ fi
366
+
367
+ if test ${enable_upfs} = 1; then
368
+ setenv bootargs_extra ${bootargs_extra} upfs-storage
369
+ elif test ${enable_upfs} = 2; then
370
+ setenv bootargs_extra ${bootargs_extra} upfsps-storage
371
+ fi
372
+
373
+ if test ${fbconsole} = 0; then
374
+ setenv bootargs_extra ${bootargs_extra} fbcon=rotate:3 nosplash
375
+ fi
361
376
362
377
# Set kernel cmdline.
363
- setenv bootargs ${bootargs_extra} "boot=/dev/mmcblk0p1 BOOT_IMAGE=@DISTRO_PATH@/KERNEL SYSTEM_IMAGE=@DISTRO_PATH@/SYSTEM nofsck fat32-boot \
378
+ setenv bootargs ${bootargs_extra} "boot=/dev/mmcblk0p1 BOOT_IMAGE=@DISTRO_PATH@/KERNEL SYSTEM_IMAGE=@DISTRO_PATH@/SYSTEM nofsck device-has-user fat32-boot \
364
379
dock_freq_switch_enabled=${dock_freq_switch_enabled} performance_mode=${performance_mode} \
365
380
firmware_class.path=/usr/lib/firmware access=m2 \
366
381
pmc_r2p.enabled=1 pmc_r2p.action=${r2p_action} \
Original file line number Diff line number Diff line change 1
1
PKG_NAME ="switch-bootloader"
2
- PKG_VERSION ="2.8 "
2
+ PKG_VERSION ="3.0 "
3
3
PKG_ARCH ="any"
4
- PKG_DEPENDS_TARGET ="switch-u-boot:host switch-u-boot:target switch-atf:target"
4
+ PKG_DEPENDS_INIT ="upFS:init"
5
+ PKG_DEPENDS_TARGET ="switch-u-boot:host switch-u-boot:target switch-atf:target upFS:target bindfs:target"
5
6
PKG_TOOLCHAIN ="manual"
6
7
7
8
make_target() {
You can’t perform that action at this time.
0 commit comments