Merge branch 'develop'

This commit is contained in:
SolidHal 2018-10-25 17:01:32 -05:00
commit 57881b4d21
11 changed files with 204 additions and 317 deletions

View File

@ -77,7 +77,7 @@ When it boots, login as root. The password is blank.
Make sure its the only storage device plugged in, and run this script to expand the partition and filesystem to the full usb drive. This will reboot when complete, so you'll have to press `control+u` again to boot to the external media. Make sure its the only storage device plugged in, and run this script to expand the partition and filesystem to the full usb drive. This will reboot when complete, so you'll have to press `control+u` again to boot to the external media.
``` ```
cd /InstallResources/ cd /InstallResources/
./InstallToUSB ./ExpandExternalInstall.sh
``` ```
Congratulations: you are done! Welcome to PrawnOS. You should probably change the root password and make a user, but I'm not your boss or anything so I'll leave that to you. Congratulations: you are done! Welcome to PrawnOS. You should probably change the root password and make a user, but I'm not your boss or anything so I'll leave that to you.
If you want a quick guide on how to connect to wifi, check out [this down below](#connecting-to-wifi-in-a-basic-environment) If you want a quick guide on how to connect to wifi, check out [this down below](#connecting-to-wifi-in-a-basic-environment)
@ -90,7 +90,7 @@ This will reboot when complete, so you'll have to press `control+u` again to boo
Run: Run:
``` ```
cd /InstallResources/ cd /InstallResources/
./InstallToUSB ./ExpandExternalInstall.sh
``` ```
You can verify it worked by running `df -h` after the reboot. The original `/dev/root/` filesystem was only ~2GB You can verify it worked by running `df -h` after the reboot. The original `/dev/root/` filesystem was only ~2GB
Then run this script which installs the either the xfce4 or the lxqt desktop enviroment, sound, trackpad, and Xorg configurations as well as prompts you to make a new user that automatically gets sudo privileges. Then run this script which installs the either the xfce4 or the lxqt desktop enviroment, sound, trackpad, and Xorg configurations as well as prompts you to make a new user that automatically gets sudo privileges.

View File

@ -52,11 +52,8 @@ CONFIG_POSIX_MQUEUE=y
CONFIG_POSIX_MQUEUE_SYSCTL=y CONFIG_POSIX_MQUEUE_SYSCTL=y
CONFIG_CROSS_MEMORY_ATTACH=y CONFIG_CROSS_MEMORY_ATTACH=y
# CONFIG_USELIB is not set # CONFIG_USELIB is not set
CONFIG_AUDIT=y # CONFIG_AUDIT is not set
CONFIG_HAVE_ARCH_AUDITSYSCALL=y CONFIG_HAVE_ARCH_AUDITSYSCALL=y
CONFIG_AUDITSYSCALL=y
CONFIG_AUDIT_WATCH=y
CONFIG_AUDIT_TREE=y
# #
# IRQ subsystem # IRQ subsystem
@ -134,10 +131,8 @@ CONFIG_CPUSETS=y
CONFIG_PROC_PID_CPUSET=y CONFIG_PROC_PID_CPUSET=y
CONFIG_CGROUP_DEVICE=y CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_CPUACCT=y CONFIG_CGROUP_CPUACCT=y
CONFIG_CGROUP_PERF=y
# CONFIG_CGROUP_BPF is not set # CONFIG_CGROUP_BPF is not set
# CONFIG_CGROUP_DEBUG is not set # CONFIG_CGROUP_DEBUG is not set
CONFIG_SOCK_CGROUP_DATA=y
CONFIG_NAMESPACES=y CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y CONFIG_UTS_NS=y
CONFIG_IPC_NS=y CONFIG_IPC_NS=y
@ -192,8 +187,7 @@ CONFIG_PERF_USE_VMALLOC=y
# #
# Kernel Performance Events And Counters # Kernel Performance Events And Counters
# #
CONFIG_PERF_EVENTS=y # CONFIG_PERF_EVENTS is not set
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
CONFIG_VM_EVENT_COUNTERS=y CONFIG_VM_EVENT_COUNTERS=y
# CONFIG_SLUB_DEBUG is not set # CONFIG_SLUB_DEBUG is not set
# CONFIG_SLUB_MEMCG_SYSFS_ON is not set # CONFIG_SLUB_MEMCG_SYSFS_ON is not set
@ -208,14 +202,11 @@ CONFIG_SLUB_CPU_PARTIAL=y
CONFIG_SYSTEM_DATA_VERIFICATION=y CONFIG_SYSTEM_DATA_VERIFICATION=y
# CONFIG_PROFILING is not set # CONFIG_PROFILING is not set
CONFIG_TRACEPOINTS=y CONFIG_TRACEPOINTS=y
CONFIG_CRASH_CORE=y
CONFIG_KEXEC_CORE=y
CONFIG_HAVE_OPROFILE=y CONFIG_HAVE_OPROFILE=y
CONFIG_KPROBES=y CONFIG_KPROBES=y
CONFIG_JUMP_LABEL=y CONFIG_JUMP_LABEL=y
# CONFIG_STATIC_KEYS_SELFTEST is not set # CONFIG_STATIC_KEYS_SELFTEST is not set
CONFIG_OPTPROBES=y CONFIG_OPTPROBES=y
CONFIG_UPROBES=y
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
CONFIG_ARCH_USE_BUILTIN_BSWAP=y CONFIG_ARCH_USE_BUILTIN_BSWAP=y
CONFIG_KRETPROBES=y CONFIG_KRETPROBES=y
@ -233,7 +224,6 @@ CONFIG_HAVE_ARCH_THREAD_STRUCT_WHITELIST=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_CLK=y CONFIG_HAVE_CLK=y
CONFIG_HAVE_DMA_API_DEBUG=y CONFIG_HAVE_DMA_API_DEBUG=y
CONFIG_HAVE_HW_BREAKPOINT=y
CONFIG_HAVE_PERF_REGS=y CONFIG_HAVE_PERF_REGS=y
CONFIG_HAVE_PERF_USER_STACK_DUMP=y CONFIG_HAVE_PERF_USER_STACK_DUMP=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y CONFIG_HAVE_ARCH_JUMP_LABEL=y
@ -467,7 +457,6 @@ CONFIG_OUTER_CACHE=y
CONFIG_OUTER_CACHE_SYNC=y CONFIG_OUTER_CACHE_SYNC=y
CONFIG_MIGHT_HAVE_CACHE_L2X0=y CONFIG_MIGHT_HAVE_CACHE_L2X0=y
CONFIG_CACHE_L2X0=y CONFIG_CACHE_L2X0=y
# CONFIG_CACHE_L2X0_PMU is not set
CONFIG_PL310_ERRATA_588369=y CONFIG_PL310_ERRATA_588369=y
CONFIG_PL310_ERRATA_727915=y CONFIG_PL310_ERRATA_727915=y
CONFIG_PL310_ERRATA_753970=y CONFIG_PL310_ERRATA_753970=y
@ -557,7 +546,7 @@ CONFIG_HAVE_SMP=y
CONFIG_SMP=y CONFIG_SMP=y
CONFIG_SMP_ON_UP=y CONFIG_SMP_ON_UP=y
CONFIG_ARM_CPU_TOPOLOGY=y CONFIG_ARM_CPU_TOPOLOGY=y
# CONFIG_SCHED_MC is not set CONFIG_SCHED_MC=y
# CONFIG_SCHED_SMT is not set # CONFIG_SCHED_SMT is not set
CONFIG_HAVE_ARM_SCU=y CONFIG_HAVE_ARM_SCU=y
CONFIG_HAVE_ARM_ARCH_TIMER=y CONFIG_HAVE_ARM_ARCH_TIMER=y
@ -593,7 +582,6 @@ CONFIG_HAVE_ARCH_PFN_VALID=y
CONFIG_HAVE_GENERIC_GUP=y CONFIG_HAVE_GENERIC_GUP=y
CONFIG_HIGHMEM=y CONFIG_HIGHMEM=y
CONFIG_HIGHPTE=y CONFIG_HIGHPTE=y
CONFIG_HW_PERF_EVENTS=y
CONFIG_SYS_SUPPORTS_HUGETLBFS=y CONFIG_SYS_SUPPORTS_HUGETLBFS=y
CONFIG_ARCH_WANT_GENERAL_HUGETLB=y CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
# CONFIG_ARM_MODULE_PLTS is not set # CONFIG_ARM_MODULE_PLTS is not set
@ -651,8 +639,7 @@ CONFIG_ZBOOT_ROM_BSS=0x0
CONFIG_ARM_APPENDED_DTB=y CONFIG_ARM_APPENDED_DTB=y
# CONFIG_ARM_ATAG_DTB_COMPAT is not set # CONFIG_ARM_ATAG_DTB_COMPAT is not set
CONFIG_CMDLINE="" CONFIG_CMDLINE=""
CONFIG_KEXEC=y # CONFIG_KEXEC is not set
CONFIG_ATAGS_PROC=y
# CONFIG_CRASH_DUMP is not set # CONFIG_CRASH_DUMP is not set
CONFIG_AUTO_ZRELADDR=y CONFIG_AUTO_ZRELADDR=y
# CONFIG_EFI is not set # CONFIG_EFI is not set
@ -767,25 +754,17 @@ CONFIG_UNIX_DIAG=y
# CONFIG_TLS is not set # CONFIG_TLS is not set
CONFIG_XFRM=y CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set # CONFIG_XFRM_USER is not set
CONFIG_XFRM_SUB_POLICY=y # CONFIG_XFRM_SUB_POLICY is not set
CONFIG_XFRM_MIGRATE=y # CONFIG_XFRM_MIGRATE is not set
# CONFIG_XFRM_STATISTICS is not set # CONFIG_XFRM_STATISTICS is not set
# CONFIG_NET_KEY is not set # CONFIG_NET_KEY is not set
CONFIG_INET=y CONFIG_INET=y
CONFIG_IP_MULTICAST=y CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y # CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_FIB_TRIE_STATS=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_VERBOSE=y
# CONFIG_IP_PNP is not set # CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set # CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE_DEMUX is not set # CONFIG_NET_IPGRE_DEMUX is not set
CONFIG_IP_MROUTE_COMMON=y # CONFIG_IP_MROUTE is not set
CONFIG_IP_MROUTE=y
CONFIG_IP_MROUTE_MULTIPLE_TABLES=y
CONFIG_IP_PIMSM_V1=y
CONFIG_IP_PIMSM_V2=y
CONFIG_SYN_COOKIES=y CONFIG_SYN_COOKIES=y
# CONFIG_NET_FOU is not set # CONFIG_NET_FOU is not set
# CONFIG_INET_AH is not set # CONFIG_INET_AH is not set
@ -795,35 +774,18 @@ CONFIG_SYN_COOKIES=y
# CONFIG_INET_XFRM_MODE_TUNNEL is not set # CONFIG_INET_XFRM_MODE_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_BEET is not set # CONFIG_INET_XFRM_MODE_BEET is not set
# CONFIG_INET_DIAG is not set # CONFIG_INET_DIAG is not set
CONFIG_TCP_CONG_ADVANCED=y # CONFIG_TCP_CONG_ADVANCED is not set
# CONFIG_TCP_CONG_BIC is not set
CONFIG_TCP_CONG_CUBIC=y CONFIG_TCP_CONG_CUBIC=y
# CONFIG_TCP_CONG_WESTWOOD is not set
# CONFIG_TCP_CONG_HTCP is not set
# CONFIG_TCP_CONG_HSTCP is not set
# CONFIG_TCP_CONG_HYBLA is not set
# CONFIG_TCP_CONG_VEGAS is not set
# CONFIG_TCP_CONG_NV is not set
# CONFIG_TCP_CONG_SCALABLE is not set
# CONFIG_TCP_CONG_LP is not set
# CONFIG_TCP_CONG_VENO is not set
# CONFIG_TCP_CONG_YEAH is not set
# CONFIG_TCP_CONG_ILLINOIS is not set
# CONFIG_TCP_CONG_DCTCP is not set
# CONFIG_TCP_CONG_CDG is not set
# CONFIG_TCP_CONG_BBR is not set
CONFIG_DEFAULT_CUBIC=y
# CONFIG_DEFAULT_RENO is not set
CONFIG_DEFAULT_TCP_CONG="cubic" CONFIG_DEFAULT_TCP_CONG="cubic"
CONFIG_TCP_MD5SIG=y # CONFIG_TCP_MD5SIG is not set
CONFIG_IPV6=y CONFIG_IPV6=m
CONFIG_IPV6_ROUTER_PREF=y CONFIG_IPV6_ROUTER_PREF=y
CONFIG_IPV6_ROUTE_INFO=y CONFIG_IPV6_ROUTE_INFO=y
CONFIG_IPV6_OPTIMISTIC_DAD=y CONFIG_IPV6_OPTIMISTIC_DAD=y
# CONFIG_INET6_AH is not set # CONFIG_INET6_AH is not set
# CONFIG_INET6_ESP is not set # CONFIG_INET6_ESP is not set
# CONFIG_INET6_IPCOMP is not set # CONFIG_INET6_IPCOMP is not set
CONFIG_IPV6_MIP6=y CONFIG_IPV6_MIP6=m
# CONFIG_IPV6_ILA is not set # CONFIG_IPV6_ILA is not set
# CONFIG_INET6_XFRM_MODE_TRANSPORT is not set # CONFIG_INET6_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET6_XFRM_MODE_TUNNEL is not set # CONFIG_INET6_XFRM_MODE_TUNNEL is not set
@ -831,11 +793,8 @@ CONFIG_IPV6_MIP6=y
# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set # CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
# CONFIG_IPV6_SIT is not set # CONFIG_IPV6_SIT is not set
# CONFIG_IPV6_TUNNEL is not set # CONFIG_IPV6_TUNNEL is not set
CONFIG_IPV6_MULTIPLE_TABLES=y # CONFIG_IPV6_MULTIPLE_TABLES is not set
CONFIG_IPV6_SUBTREES=y # CONFIG_IPV6_MROUTE is not set
CONFIG_IPV6_MROUTE=y
CONFIG_IPV6_MROUTE_MULTIPLE_TABLES=y
CONFIG_IPV6_PIMSM_V2=y
# CONFIG_IPV6_SEG6_LWTUNNEL is not set # CONFIG_IPV6_SEG6_LWTUNNEL is not set
# CONFIG_IPV6_SEG6_HMAC is not set # CONFIG_IPV6_SEG6_HMAC is not set
CONFIG_NETWORK_SECMARK=y CONFIG_NETWORK_SECMARK=y
@ -843,13 +802,12 @@ CONFIG_NET_PTP_CLASSIFY=y
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set # CONFIG_NETWORK_PHY_TIMESTAMPING is not set
CONFIG_NETFILTER=y CONFIG_NETFILTER=y
CONFIG_NETFILTER_ADVANCED=y CONFIG_NETFILTER_ADVANCED=y
CONFIG_BRIDGE_NETFILTER=m # CONFIG_BRIDGE_NETFILTER is not set
# #
# Core Netfilter Configuration # Core Netfilter Configuration
# #
CONFIG_NETFILTER_INGRESS=y CONFIG_NETFILTER_INGRESS=y
CONFIG_NETFILTER_FAMILY_BRIDGE=y
# CONFIG_NETFILTER_NETLINK_ACCT is not set # CONFIG_NETFILTER_NETLINK_ACCT is not set
# CONFIG_NETFILTER_NETLINK_QUEUE is not set # CONFIG_NETFILTER_NETLINK_QUEUE is not set
# CONFIG_NETFILTER_NETLINK_LOG is not set # CONFIG_NETFILTER_NETLINK_LOG is not set
@ -888,7 +846,6 @@ CONFIG_NETFILTER_XTABLES=y
# #
# Xtables targets # Xtables targets
# #
# CONFIG_NETFILTER_XT_TARGET_AUDIT is not set
# CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set # CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set
# CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set # CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set
# CONFIG_NETFILTER_XT_TARGET_CONNSECMARK is not set # CONFIG_NETFILTER_XT_TARGET_CONNSECMARK is not set
@ -937,7 +894,6 @@ CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
# CONFIG_NETFILTER_XT_MATCH_NFACCT is not set # CONFIG_NETFILTER_XT_MATCH_NFACCT is not set
# CONFIG_NETFILTER_XT_MATCH_OWNER is not set # CONFIG_NETFILTER_XT_MATCH_OWNER is not set
# CONFIG_NETFILTER_XT_MATCH_POLICY is not set # CONFIG_NETFILTER_XT_MATCH_POLICY is not set
# CONFIG_NETFILTER_XT_MATCH_PHYSDEV is not set
# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set # CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set
# CONFIG_NETFILTER_XT_MATCH_QUOTA is not set # CONFIG_NETFILTER_XT_MATCH_QUOTA is not set
# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set # CONFIG_NETFILTER_XT_MATCH_RATEEST is not set
@ -992,17 +948,12 @@ CONFIG_IP_NF_FILTER=y
# CONFIG_TIPC is not set # CONFIG_TIPC is not set
# CONFIG_ATM is not set # CONFIG_ATM is not set
# CONFIG_L2TP is not set # CONFIG_L2TP is not set
CONFIG_STP=y CONFIG_STP=m
CONFIG_GARP=y
CONFIG_MRP=y
CONFIG_BRIDGE=m CONFIG_BRIDGE=m
CONFIG_BRIDGE_IGMP_SNOOPING=y CONFIG_BRIDGE_IGMP_SNOOPING=y
CONFIG_BRIDGE_VLAN_FILTERING=y
CONFIG_HAVE_NET_DSA=y CONFIG_HAVE_NET_DSA=y
# CONFIG_NET_DSA is not set # CONFIG_NET_DSA is not set
CONFIG_VLAN_8021Q=y # CONFIG_VLAN_8021Q is not set
CONFIG_VLAN_8021Q_GVRP=y
CONFIG_VLAN_8021Q_MVRP=y
# CONFIG_DECNET is not set # CONFIG_DECNET is not set
CONFIG_LLC=y CONFIG_LLC=y
# CONFIG_LLC2 is not set # CONFIG_LLC2 is not set
@ -1013,81 +964,8 @@ CONFIG_ATALK=y
# CONFIG_PHONET is not set # CONFIG_PHONET is not set
# CONFIG_6LOWPAN is not set # CONFIG_6LOWPAN is not set
# CONFIG_IEEE802154 is not set # CONFIG_IEEE802154 is not set
CONFIG_NET_SCHED=y # CONFIG_NET_SCHED is not set
# CONFIG_DCB is not set
#
# Queueing/Scheduling
#
# CONFIG_NET_SCH_CBQ is not set
# CONFIG_NET_SCH_HTB is not set
# CONFIG_NET_SCH_HFSC is not set
# CONFIG_NET_SCH_PRIO is not set
# CONFIG_NET_SCH_MULTIQ is not set
# CONFIG_NET_SCH_RED is not set
# CONFIG_NET_SCH_SFB is not set
# CONFIG_NET_SCH_SFQ is not set
# CONFIG_NET_SCH_TEQL is not set
# CONFIG_NET_SCH_TBF is not set
# CONFIG_NET_SCH_CBS is not set
# CONFIG_NET_SCH_GRED is not set
# CONFIG_NET_SCH_DSMARK is not set
# CONFIG_NET_SCH_NETEM is not set
# CONFIG_NET_SCH_DRR is not set
# CONFIG_NET_SCH_MQPRIO is not set
# CONFIG_NET_SCH_CHOKE is not set
# CONFIG_NET_SCH_QFQ is not set
# CONFIG_NET_SCH_CODEL is not set
# CONFIG_NET_SCH_FQ_CODEL is not set
# CONFIG_NET_SCH_FQ is not set
# CONFIG_NET_SCH_HHF is not set
# CONFIG_NET_SCH_PIE is not set
# CONFIG_NET_SCH_INGRESS is not set
# CONFIG_NET_SCH_PLUG is not set
# CONFIG_NET_SCH_DEFAULT is not set
#
# Classification
#
CONFIG_NET_CLS=y
# CONFIG_NET_CLS_BASIC is not set
# CONFIG_NET_CLS_TCINDEX is not set
# CONFIG_NET_CLS_ROUTE4 is not set
# CONFIG_NET_CLS_FW is not set
# CONFIG_NET_CLS_U32 is not set
# CONFIG_NET_CLS_RSVP is not set
# CONFIG_NET_CLS_RSVP6 is not set
# CONFIG_NET_CLS_FLOW is not set
# CONFIG_NET_CLS_CGROUP is not set
# CONFIG_NET_CLS_BPF is not set
# CONFIG_NET_CLS_FLOWER is not set
# CONFIG_NET_CLS_MATCHALL is not set
CONFIG_NET_EMATCH=y
CONFIG_NET_EMATCH_STACK=32
# CONFIG_NET_EMATCH_CMP is not set
# CONFIG_NET_EMATCH_NBYTE is not set
# CONFIG_NET_EMATCH_U32 is not set
# CONFIG_NET_EMATCH_META is not set
# CONFIG_NET_EMATCH_TEXT is not set
# CONFIG_NET_EMATCH_IPT is not set
CONFIG_NET_CLS_ACT=y
# CONFIG_NET_ACT_POLICE is not set
# CONFIG_NET_ACT_GACT is not set
# CONFIG_NET_ACT_MIRRED is not set
# CONFIG_NET_ACT_SAMPLE is not set
# CONFIG_NET_ACT_IPT is not set
# CONFIG_NET_ACT_NAT is not set
# CONFIG_NET_ACT_PEDIT is not set
# CONFIG_NET_ACT_SIMP is not set
# CONFIG_NET_ACT_SKBEDIT is not set
# CONFIG_NET_ACT_CSUM is not set
# CONFIG_NET_ACT_VLAN is not set
# CONFIG_NET_ACT_BPF is not set
# CONFIG_NET_ACT_CONNMARK is not set
# CONFIG_NET_ACT_SKBMOD is not set
# CONFIG_NET_ACT_IFE is not set
# CONFIG_NET_ACT_TUNNEL_KEY is not set
CONFIG_NET_SCH_FIFO=y
CONFIG_DCB=y
# CONFIG_DNS_RESOLVER is not set # CONFIG_DNS_RESOLVER is not set
# CONFIG_BATMAN_ADV is not set # CONFIG_BATMAN_ADV is not set
# CONFIG_OPENVSWITCH is not set # CONFIG_OPENVSWITCH is not set
@ -1096,14 +974,14 @@ CONFIG_DCB=y
# CONFIG_MPLS is not set # CONFIG_MPLS is not set
# CONFIG_NET_NSH is not set # CONFIG_NET_NSH is not set
# CONFIG_HSR is not set # CONFIG_HSR is not set
CONFIG_NET_SWITCHDEV=y # CONFIG_NET_SWITCHDEV is not set
CONFIG_NET_L3_MASTER_DEV=y # CONFIG_NET_L3_MASTER_DEV is not set
# CONFIG_NET_NCSI is not set # CONFIG_NET_NCSI is not set
CONFIG_RPS=y CONFIG_RPS=y
CONFIG_RFS_ACCEL=y CONFIG_RFS_ACCEL=y
CONFIG_XPS=y CONFIG_XPS=y
CONFIG_CGROUP_NET_PRIO=y # CONFIG_CGROUP_NET_PRIO is not set
CONFIG_CGROUP_NET_CLASSID=y # CONFIG_CGROUP_NET_CLASSID is not set
CONFIG_NET_RX_BUSY_POLL=y CONFIG_NET_RX_BUSY_POLL=y
CONFIG_BQL=y CONFIG_BQL=y
CONFIG_BPF_JIT=y CONFIG_BPF_JIT=y
@ -1149,7 +1027,6 @@ CONFIG_BT_HCIBTUSB=y
# CONFIG_BT_ATH3K is not set # CONFIG_BT_ATH3K is not set
# CONFIG_AF_RXRPC is not set # CONFIG_AF_RXRPC is not set
# CONFIG_AF_KCM is not set # CONFIG_AF_KCM is not set
CONFIG_FIB_RULES=y
CONFIG_WIRELESS=y CONFIG_WIRELESS=y
CONFIG_WEXT_CORE=y CONFIG_WEXT_CORE=y
CONFIG_WEXT_PROC=y CONFIG_WEXT_PROC=y
@ -1459,34 +1336,7 @@ CONFIG_SCSI_LOWLEVEL=y
# CONFIG_SCSI_DH is not set # CONFIG_SCSI_DH is not set
# CONFIG_SCSI_OSD_INITIATOR is not set # CONFIG_SCSI_OSD_INITIATOR is not set
# CONFIG_ATA is not set # CONFIG_ATA is not set
CONFIG_MD=y # CONFIG_MD is not set
# CONFIG_BLK_DEV_MD is not set
# CONFIG_BCACHE is not set
CONFIG_BLK_DEV_DM_BUILTIN=y
CONFIG_BLK_DEV_DM=y
# CONFIG_DM_MQ_DEFAULT is not set
# CONFIG_DM_DEBUG is not set
CONFIG_DM_BUFIO=y
# CONFIG_DM_DEBUG_BLOCK_MANAGER_LOCKING is not set
CONFIG_DM_BIO_PRISON=y
CONFIG_DM_PERSISTENT_DATA=y
# CONFIG_DM_UNSTRIPED is not set
CONFIG_DM_CRYPT=y
# CONFIG_DM_SNAPSHOT is not set
CONFIG_DM_THIN_PROVISIONING=y
# CONFIG_DM_CACHE is not set
# CONFIG_DM_ERA is not set
# CONFIG_DM_MIRROR is not set
# CONFIG_DM_RAID is not set
# CONFIG_DM_ZERO is not set
# CONFIG_DM_MULTIPATH is not set
# CONFIG_DM_DELAY is not set
CONFIG_DM_UEVENT=y
# CONFIG_DM_FLAKEY is not set
# CONFIG_DM_VERITY is not set
# CONFIG_DM_SWITCH is not set
# CONFIG_DM_LOG_WRITES is not set
CONFIG_DM_INTEGRITY=y
# CONFIG_TARGET_CORE is not set # CONFIG_TARGET_CORE is not set
# CONFIG_FUSION is not set # CONFIG_FUSION is not set
@ -1502,7 +1352,6 @@ CONFIG_NET_CORE=y
# CONFIG_DUMMY is not set # CONFIG_DUMMY is not set
# CONFIG_EQUALIZER is not set # CONFIG_EQUALIZER is not set
# CONFIG_NET_FC is not set # CONFIG_NET_FC is not set
# CONFIG_IFB is not set
# CONFIG_NET_TEAM is not set # CONFIG_NET_TEAM is not set
# CONFIG_MACVLAN is not set # CONFIG_MACVLAN is not set
# CONFIG_IPVLAN is not set # CONFIG_IPVLAN is not set
@ -1514,7 +1363,6 @@ CONFIG_TUN=y
# CONFIG_VETH is not set # CONFIG_VETH is not set
# CONFIG_VIRTIO_NET is not set # CONFIG_VIRTIO_NET is not set
# CONFIG_NLMON is not set # CONFIG_NLMON is not set
# CONFIG_NET_VRF is not set
# CONFIG_ARCNET is not set # CONFIG_ARCNET is not set
# #
@ -1839,7 +1687,7 @@ CONFIG_DEVPORT=y
# #
CONFIG_I2C=y CONFIG_I2C=y
CONFIG_I2C_BOARDINFO=y CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_COMPAT=y # CONFIG_I2C_COMPAT is not set
CONFIG_I2C_CHARDEV=y CONFIG_I2C_CHARDEV=y
CONFIG_I2C_MUX=y CONFIG_I2C_MUX=y
@ -1941,7 +1789,7 @@ CONFIG_SPI_ROCKCHIP=y
# #
# SPI Protocol Masters # SPI Protocol Masters
# #
CONFIG_SPI_SPIDEV=y # CONFIG_SPI_SPIDEV is not set
# CONFIG_SPI_LOOPBACK_TEST is not set # CONFIG_SPI_LOOPBACK_TEST is not set
# CONFIG_SPI_TLE62X0 is not set # CONFIG_SPI_TLE62X0 is not set
# CONFIG_SPI_SLAVE is not set # CONFIG_SPI_SLAVE is not set
@ -2104,8 +1952,6 @@ CONFIG_CHARGER_GPIO=y
# CONFIG_CHARGER_SMB347 is not set # CONFIG_CHARGER_SMB347 is not set
# CONFIG_BATTERY_GAUGE_LTC2941 is not set # CONFIG_BATTERY_GAUGE_LTC2941 is not set
# CONFIG_CHARGER_RT9455 is not set # CONFIG_CHARGER_RT9455 is not set
CONFIG_POWER_SEQUENCE=y
CONFIG_PWRSEQ_GENERIC=y
# CONFIG_HWMON is not set # CONFIG_HWMON is not set
CONFIG_THERMAL=y CONFIG_THERMAL=y
# CONFIG_THERMAL_STATISTICS is not set # CONFIG_THERMAL_STATISTICS is not set
@ -2123,7 +1969,6 @@ CONFIG_THERMAL_GOV_STEP_WISE=y
# CONFIG_THERMAL_GOV_POWER_ALLOCATOR is not set # CONFIG_THERMAL_GOV_POWER_ALLOCATOR is not set
CONFIG_CPU_THERMAL=y CONFIG_CPU_THERMAL=y
# CONFIG_CLOCK_THERMAL is not set # CONFIG_CLOCK_THERMAL is not set
# CONFIG_DEVFREQ_THERMAL is not set
# CONFIG_THERMAL_EMULATION is not set # CONFIG_THERMAL_EMULATION is not set
# CONFIG_QORIQ_THERMAL is not set # CONFIG_QORIQ_THERMAL is not set
CONFIG_ROCKCHIP_THERMAL=y CONFIG_ROCKCHIP_THERMAL=y
@ -2381,7 +2226,7 @@ CONFIG_ROCKCHIP_ANALOGIX_DP=y
# CONFIG_ROCKCHIP_CDN_DP is not set # CONFIG_ROCKCHIP_CDN_DP is not set
CONFIG_ROCKCHIP_DW_HDMI=y CONFIG_ROCKCHIP_DW_HDMI=y
CONFIG_ROCKCHIP_DW_MIPI_DSI=y CONFIG_ROCKCHIP_DW_MIPI_DSI=y
CONFIG_ROCKCHIP_INNO_HDMI=y # CONFIG_ROCKCHIP_INNO_HDMI is not set
# CONFIG_ROCKCHIP_LVDS is not set # CONFIG_ROCKCHIP_LVDS is not set
# CONFIG_DRM_UDL is not set # CONFIG_DRM_UDL is not set
# CONFIG_DRM_AST is not set # CONFIG_DRM_AST is not set
@ -2440,7 +2285,7 @@ CONFIG_DRM_PANEL_BRIDGE=y
CONFIG_DRM_ANALOGIX_DP=y CONFIG_DRM_ANALOGIX_DP=y
# CONFIG_DRM_I2C_ADV7511 is not set # CONFIG_DRM_I2C_ADV7511 is not set
CONFIG_DRM_DW_HDMI=y CONFIG_DRM_DW_HDMI=y
CONFIG_DRM_DW_HDMI_AHB_AUDIO=y # CONFIG_DRM_DW_HDMI_AHB_AUDIO is not set
CONFIG_DRM_DW_HDMI_I2S_AUDIO=y CONFIG_DRM_DW_HDMI_I2S_AUDIO=y
# CONFIG_DRM_DW_HDMI_CEC is not set # CONFIG_DRM_DW_HDMI_CEC is not set
# CONFIG_DRM_STI is not set # CONFIG_DRM_STI is not set
@ -2548,7 +2393,7 @@ CONFIG_SND_PCM=y
CONFIG_SND_PCM_ELD=y CONFIG_SND_PCM_ELD=y
CONFIG_SND_PCM_IEC958=y CONFIG_SND_PCM_IEC958=y
CONFIG_SND_DMAENGINE_PCM=y CONFIG_SND_DMAENGINE_PCM=y
CONFIG_SND_SEQ_DEVICE=m CONFIG_SND_SEQ_DEVICE=y
CONFIG_SND_JACK=y CONFIG_SND_JACK=y
CONFIG_SND_JACK_INPUT_DEV=y CONFIG_SND_JACK_INPUT_DEV=y
# CONFIG_SND_OSSEMUL is not set # CONFIG_SND_OSSEMUL is not set
@ -2558,10 +2403,10 @@ CONFIG_SND_DYNAMIC_MINORS=y
CONFIG_SND_MAX_CARDS=32 CONFIG_SND_MAX_CARDS=32
# CONFIG_SND_SUPPORT_OLD_API is not set # CONFIG_SND_SUPPORT_OLD_API is not set
CONFIG_SND_PROC_FS=y CONFIG_SND_PROC_FS=y
CONFIG_SND_VERBOSE_PROCFS=y # CONFIG_SND_VERBOSE_PROCFS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set # CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set # CONFIG_SND_DEBUG is not set
CONFIG_SND_SEQUENCER=m CONFIG_SND_SEQUENCER=y
# CONFIG_SND_SEQ_DUMMY is not set # CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_SEQ_HRTIMER_DEFAULT=y CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
# CONFIG_SND_DRIVERS is not set # CONFIG_SND_DRIVERS is not set
@ -3149,8 +2994,7 @@ CONFIG_LEDS_TRIGGER_CPU=y
# CONFIG_LEDS_TRIGGER_CAMERA is not set # CONFIG_LEDS_TRIGGER_CAMERA is not set
# CONFIG_LEDS_TRIGGER_PANIC is not set # CONFIG_LEDS_TRIGGER_PANIC is not set
# CONFIG_LEDS_TRIGGER_NETDEV is not set # CONFIG_LEDS_TRIGGER_NETDEV is not set
CONFIG_ACCESSIBILITY=y # CONFIG_ACCESSIBILITY is not set
# CONFIG_A11Y_BRAILLE_CONSOLE is not set
# CONFIG_INFINIBAND is not set # CONFIG_INFINIBAND is not set
CONFIG_EDAC_ATOMIC_SCRUB=y CONFIG_EDAC_ATOMIC_SCRUB=y
CONFIG_EDAC_SUPPORT=y CONFIG_EDAC_SUPPORT=y
@ -3420,23 +3264,7 @@ CONFIG_ROCKCHIP_PM_DOMAINS=y
# Xilinx SoC drivers # Xilinx SoC drivers
# #
# CONFIG_XILINX_VCU is not set # CONFIG_XILINX_VCU is not set
CONFIG_PM_DEVFREQ=y # CONFIG_PM_DEVFREQ is not set
#
# DEVFREQ Governors
#
# CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND is not set
# CONFIG_DEVFREQ_GOV_PERFORMANCE is not set
# CONFIG_DEVFREQ_GOV_POWERSAVE is not set
# CONFIG_DEVFREQ_GOV_USERSPACE is not set
# CONFIG_DEVFREQ_GOV_PASSIVE is not set
#
# DEVFREQ Drivers
#
# CONFIG_ARM_RK3399_DMC_DEVFREQ is not set
CONFIG_PM_DEVFREQ_EVENT=y
CONFIG_DEVFREQ_EVENT_ROCKCHIP_DFI=y
CONFIG_EXTCON=y CONFIG_EXTCON=y
# #
@ -3450,8 +3278,7 @@ CONFIG_EXTCON=y
# CONFIG_EXTCON_SM5502 is not set # CONFIG_EXTCON_SM5502 is not set
# CONFIG_EXTCON_USB_GPIO is not set # CONFIG_EXTCON_USB_GPIO is not set
# CONFIG_EXTCON_USBC_CROS_EC is not set # CONFIG_EXTCON_USBC_CROS_EC is not set
CONFIG_MEMORY=y # CONFIG_MEMORY is not set
# CONFIG_ARM_PL172_MPMC is not set
CONFIG_IIO=y CONFIG_IIO=y
CONFIG_IIO_BUFFER=y CONFIG_IIO_BUFFER=y
# CONFIG_IIO_BUFFER_CB is not set # CONFIG_IIO_BUFFER_CB is not set
@ -3833,14 +3660,6 @@ CONFIG_PHY_ROCKCHIP_USB=y
# CONFIG_PHY_SAMSUNG_USB2 is not set # CONFIG_PHY_SAMSUNG_USB2 is not set
# CONFIG_POWERCAP is not set # CONFIG_POWERCAP is not set
# CONFIG_MCB is not set # CONFIG_MCB is not set
#
# Performance monitor support
#
# CONFIG_ARM_CCI400_PMU is not set
# CONFIG_ARM_CCI5xx_PMU is not set
# CONFIG_ARM_CCN is not set
CONFIG_ARM_PMU=y
CONFIG_RAS=y CONFIG_RAS=y
# #
@ -4084,9 +3903,9 @@ CONFIG_NLS_UTF8=y
# printk and dmesg options # printk and dmesg options
# #
CONFIG_PRINTK_TIME=y CONFIG_PRINTK_TIME=y
CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7 CONFIG_CONSOLE_LOGLEVEL_DEFAULT=8
CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4 CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4
CONFIG_BOOT_PRINTK_DELAY=y # CONFIG_BOOT_PRINTK_DELAY is not set
CONFIG_DYNAMIC_DEBUG=y CONFIG_DYNAMIC_DEBUG=y
# #
@ -4107,7 +3926,7 @@ CONFIG_STRIP_ASM_SYMS=y
CONFIG_DEBUG_FS=y CONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set # CONFIG_HEADERS_CHECK is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not set # CONFIG_DEBUG_SECTION_MISMATCH is not set
CONFIG_SECTION_MISMATCH_WARN_ONLY=y # CONFIG_SECTION_MISMATCH_WARN_ONLY is not set
CONFIG_FRAME_POINTER=y CONFIG_FRAME_POINTER=y
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
CONFIG_MAGIC_SYSRQ=y CONFIG_MAGIC_SYSRQ=y
@ -4148,12 +3967,11 @@ CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
# CONFIG_PANIC_ON_OOPS is not set # CONFIG_PANIC_ON_OOPS is not set
CONFIG_PANIC_ON_OOPS_VALUE=0 CONFIG_PANIC_ON_OOPS_VALUE=0
CONFIG_PANIC_TIMEOUT=0 CONFIG_PANIC_TIMEOUT=0
CONFIG_SCHED_DEBUG=y # CONFIG_SCHED_DEBUG is not set
CONFIG_SCHED_INFO=y # CONFIG_SCHEDSTATS is not set
CONFIG_SCHEDSTATS=y
CONFIG_SCHED_STACK_END_CHECK=y CONFIG_SCHED_STACK_END_CHECK=y
# CONFIG_DEBUG_TIMEKEEPING is not set # CONFIG_DEBUG_TIMEKEEPING is not set
CONFIG_DEBUG_PREEMPT=y # CONFIG_DEBUG_PREEMPT is not set
# #
# Lock Debugging (spinlocks, mutexes, etc...) # Lock Debugging (spinlocks, mutexes, etc...)
@ -4226,11 +4044,8 @@ CONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set # CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
# CONFIG_PROFILE_ALL_BRANCHES is not set # CONFIG_PROFILE_ALL_BRANCHES is not set
CONFIG_STACK_TRACER=y CONFIG_STACK_TRACER=y
CONFIG_BLK_DEV_IO_TRACE=y # CONFIG_BLK_DEV_IO_TRACE is not set
CONFIG_KPROBE_EVENTS=y # CONFIG_KPROBE_EVENTS is not set
CONFIG_UPROBE_EVENTS=y
CONFIG_BPF_EVENTS=y
CONFIG_PROBE_EVENTS=y
CONFIG_DYNAMIC_FTRACE=y CONFIG_DYNAMIC_FTRACE=y
CONFIG_DYNAMIC_FTRACE_WITH_REGS=y CONFIG_DYNAMIC_FTRACE_WITH_REGS=y
# CONFIG_FUNCTION_PROFILER is not set # CONFIG_FUNCTION_PROFILER is not set
@ -4281,9 +4096,7 @@ CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y
# CONFIG_STATIC_USERMODEHELPER is not set # CONFIG_STATIC_USERMODEHELPER is not set
CONFIG_DEFAULT_SECURITY_DAC=y CONFIG_DEFAULT_SECURITY_DAC=y
CONFIG_DEFAULT_SECURITY="" CONFIG_DEFAULT_SECURITY=""
CONFIG_XOR_BLOCKS=y CONFIG_XOR_BLOCKS=m
CONFIG_ASYNC_CORE=y
CONFIG_ASYNC_XOR=y
CONFIG_CRYPTO=y CONFIG_CRYPTO=y
# #
@ -4472,7 +4285,6 @@ CONFIG_CRC7=y
CONFIG_LIBCRC32C=y CONFIG_LIBCRC32C=y
# CONFIG_CRC8 is not set # CONFIG_CRC8 is not set
CONFIG_XXHASH=m CONFIG_XXHASH=m
CONFIG_AUDIT_GENERIC=y
# CONFIG_RANDOM32_SELFTEST is not set # CONFIG_RANDOM32_SELFTEST is not set
CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y CONFIG_ZLIB_DEFLATE=y

View File

@ -1,56 +0,0 @@
From 7af8d2bf732cb3baab7d926ed8a7e061e7a09ad9 Mon Sep 17 00:00:00 2001
From: Myy Miouyouyou <myy@miouyouyou.fr>
Date: Thu, 19 Oct 2017 21:39:00 +0200
Subject: [PATCH 13/28] ARM: DTSI: rk3288.dtsi: Adding cells addresses and
sizes of MMC nodes
Imported from the Rockchip 4.4 patches.
Signed-off-by: Myy Miouyouyou <myy@miouyouyou.fr>
---
arch/arm/boot/dts/rk3288.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
index be985f02..14ef8202 100644
--- a/arch/arm/boot/dts/rk3288.dtsi
+++ b/arch/arm/boot/dts/rk3288.dtsi
@@ -236,6 +236,8 @@
clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
fifo-depth = <0x100>;
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <1>;
+ #size-cells = <0>;
reg = <0x0 0xff0c0000 0x0 0x4000>;
resets = <&cru SRST_MMC0>;
reset-names = "reset";
@@ -250,6 +252,8 @@
clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
fifo-depth = <0x100>;
interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <1>;
+ #size-cells = <0>;
reg = <0x0 0xff0d0000 0x0 0x4000>;
resets = <&cru SRST_SDIO0>;
reset-names = "reset";
@@ -264,6 +268,8 @@
clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
fifo-depth = <0x100>;
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <1>;
+ #size-cells = <0>;
reg = <0x0 0xff0e0000 0x0 0x4000>;
resets = <&cru SRST_SDIO1>;
reset-names = "reset";
@@ -278,6 +284,8 @@
clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
fifo-depth = <0x100>;
interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <1>;
+ #size-cells = <0>;
reg = <0x0 0xff0f0000 0x0 0x4000>;
resets = <&cru SRST_EMMC>;
reset-names = "reset";
--
2.11.0

View File

@ -0,0 +1,41 @@
From 30914ed56a766f15162c3bf106797a45857d98f1 Mon Sep 17 00:00:00 2001
From: SolidHal <hal@halemmerich.com>
Date: Sun, 21 Oct 2018 16:40:15 -0500
Subject: [PATCH] Added a second reset when having an issue reading the emmc.
The c201 emmc can be... touchy. Sometimes one full reset isn't
enough to get it into a wokring state if it found it's way into
a really bad state. Note that in my testing WITHOUT this patch,
this only happens about once in just over 1600 reboots.
Signed-off-by: SolidHal <hal@halemmerich.com>
---
drivers/mmc/core/block.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/mmc/core/block.c b/drivers/mmc/core/block.c
index 5bc585e8..39e16e48 100644
--- a/drivers/mmc/core/block.c
+++ b/drivers/mmc/core/block.c
@@ -1033,6 +1033,7 @@ static int mmc_blk_reset(struct mmc_blk_data *md, struct mmc_host *host,
return -EEXIST;
}
md->reset_done |= type;
+retry:
err = mmc_hw_reset(host);
/* Ensure we switch back to the correct partition */
if (err != -EOPNOTSUPP) {
@@ -1050,6 +1051,10 @@ static int mmc_blk_reset(struct mmc_blk_data *md, struct mmc_host *host,
return -ENODEV;
}
}
+ if (err){
+ /* Try one last time, just in case. The emmc can be touchy */
+ goto retry;
+ }
return err;
}
--
2.11.0

View File

@ -0,0 +1,41 @@
From e4f737ba76eedeb9c924f46fe6a66520485b2bc6 Mon Sep 17 00:00:00 2001
From: SolidHal <hal@halemmerich.com>
Date: Mon, 22 Oct 2018 19:19:13 -0500
Subject: [PATCH] Don't try to flush cache on reset
A hardware reset is called for two situations. The first is on init
and the second is if the driver encounters an error with the card.
Flushing the cache when the emmc is already in a bad state causes a ~10
minute long hang.
Not only does the cache flush fail after
a long hang, it causes a cmd write during the bus init in mmc_power_cycle
to fail, leaving the card potentially incorrectly configured.
The effects specifically the skHynix emmc with designware controller
used in the c201 chromebook (veyron-speedy), but could causes issues
with other emmcs as well.
---
drivers/mmc/core/mmc.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
index 6f8ebd6c..186cf61b 100644
--- a/drivers/mmc/core/mmc.c
+++ b/drivers/mmc/core/mmc.c
@@ -2121,12 +2121,6 @@ static int mmc_reset(struct mmc_host *host)
{
struct mmc_card *card = host->card;
- /*
- * In the case of recovery, we can't expect flushing the cache to work
- * always, but we have a go and ignore errors.
- */
- mmc_flush_cache(host->card);
-
if ((host->caps & MMC_CAP_HW_RESET) && host->ops->hw_reset &&
mmc_can_reset(card)) {
/* If the card accept RST_n signal, send it. */
--
2.11.0

View File

@ -1,8 +1,8 @@
deb http://deb.debian.org/debian stretch main deb http://ftp.us.debian.org/debian stretch main
deb-src http://deb.debian.org/debian stretch main deb-src http://ftp.us.debian.org/debian stretch main
deb http://deb.debian.org/debian stretch-updates main deb http://ftp.us.debian.org/debian stretch-updates main
deb-src http://deb.debian.org/debian stretch-updates main deb-src http://ftp.us.debian.org/debian stretch-updates main
#Disable these, as the new versions of firefox or chromium installed crash immediately see issue #29 #Disable these, as the new versions of firefox or chromium installed crash immediately see issue #29
#deb http://security.debian.org/debian-security/ stretch/updates main #deb http://security.debian.org/debian-security/ stretch/updates main

View File

@ -8,10 +8,9 @@
<property name="position" type="string" value="p=6;x=0;y=0"/> <property name="position" type="string" value="p=6;x=0;y=0"/>
<property name="length" type="uint" value="100"/> <property name="length" type="uint" value="100"/>
<property name="position-locked" type="bool" value="true"/> <property name="position-locked" type="bool" value="true"/>
<property name="size" type="uint" value="30"/> <property name="size" type="uint" value="26"/>
<property name="plugin-ids" type="array"> <property name="plugin-ids" type="array">
<value type="int" value="1"/> <value type="int" value="1"/>
<value type="int" value="4"/>
<value type="int" value="15"/> <value type="int" value="15"/>
<value type="int" value="6"/> <value type="int" value="6"/>
<value type="int" value="16"/> <value type="int" value="16"/>
@ -19,6 +18,8 @@
<value type="int" value="5"/> <value type="int" value="5"/>
<value type="int" value="2"/> <value type="int" value="2"/>
</property> </property>
<property name="background-style" type="uint" value="0"/>
<property name="background-alpha" type="uint" value="0"/>
</property> </property>
</property> </property>
<property name="plugins" type="empty"> <property name="plugins" type="empty">
@ -31,7 +32,6 @@
<property name="expand" type="bool" value="true"/> <property name="expand" type="bool" value="true"/>
<property name="style" type="uint" value="0"/> <property name="style" type="uint" value="0"/>
</property> </property>
<property name="plugin-4" type="string" value="pager"/>
<property name="plugin-5" type="string" value="clock"/> <property name="plugin-5" type="string" value="clock"/>
<property name="plugin-6" type="string" value="systray"> <property name="plugin-6" type="string" value="systray">
<property name="names-visible" type="array"> <property name="names-visible" type="array">

View File

@ -0,0 +1,65 @@
#!/bin/bash
#Expand PrawnOS to fill the entire external device
# This file is part of PrawnOS (http://www.prawnos.com)
# Copyright (c) 2018 Hal Emmerich <hal@halemmerich.com>
# PrawnOS is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# as published by the Free Software Foundation.
# PrawnOS is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with PrawnOS. If not, see <https://www.gnu.org/licenses/>.
while true; do
echo "This script will expand PrawnOS to fill the entire external"
echo " storage device it is booted from"
echo "If installing to a USB flash drive, make sure only one USB storage device is plugged in"
read -p "install to: internal external (S)D, external (U)SB Storage: " ESU
case $ESU in
[Ss]* ) TARGET=SD; break;;
[Uu]* ) TARGET=USB; break;;
* ) echo "Please answer S or U";;
esac
done
if [ "$TARGET" = "USB" ]
then
#Make the boot partition fille the whole drive
#Delete the partition
sgdisk -d 2 /dev/sda
#Make new partition map entry, with full size
sgdisk -N 2 /dev/sda
#Set the type to "data"
sgdisk -t 2:0700 /dev/sda
#Name is "properly" - Probably not required, but looks nice
sgdisk -c 2:Root /dev/sda
#Reload the partition mapping
partprobe /dev/sda
#Force the filesystem to fill the new partition
resize2fs -f /dev/sda2
fi
if [ "$TARGET" = "SD" ]
then
#Make the boot partition fille the whole drive
#Delete the partition
sgdisk -d 2 /dev/mmcblk0
#Make new partition map entry, with full size
sgdisk -N 2 /dev/mmcblk0
#Set the type to "data"
sgdisk -t 2:0700 /dev/mmcblk0
#Name is "properly" - Probably not required, but looks nice
sgdisk -c 2:Root /dev/mmcblk0
#Reload the partition mapping
partprobe /dev/mmcblk0
#Force the filesystem to fill the new partition
resize2fs -f /dev/mmcblk0p2
fi

View File

@ -25,8 +25,11 @@ read -p "This will ERASE ALL DATA ON THE INTERNAL STORAGE (EMMC) and reboot when
echo echo
if [[ $REPLY =~ ^[Yy]$ ]] if [[ $REPLY =~ ^[Yy]$ ]]
then then
#disable dmesg, writing the partition map tries to write the the first gpt table, which is unmodifiable
dmesg -D
echo Writing partition map echo Writing partition map
sfdisk /dev/mmcblk2 < $RESOURCES/mmc.partmap sfdisk /dev/mmcblk2 < $RESOURCES/mmc.partmap
dmesg -E
echo Writing kernel partition echo Writing kernel partition
dd if=/dev/sda1 of=/dev/mmcblk2p1 dd if=/dev/sda1 of=/dev/mmcblk2p1
echo Writing Filesystem, this will take about 4 minutes... echo Writing Filesystem, this will take about 4 minutes...

View File

@ -1,19 +0,0 @@
#!/bin/bash
#Install PrawnOS to an external device, the first usb by default
apt install -y gdisk parted
#Make the boot partition fille the whole drive
#Delete the partition
sgdisk -d 2 /dev/sda
#Make new partition map entry, with full size
sgdisk -N 2 /dev/sda
#Set the type to "data"
sgdisk -t 2:0700 /dev/sda
#Name is "properly" - Probably not required, but looks nice
sgdisk -c 2:Root /dev/sda
#Reload the partition mapping
partprobe /dev/sda
#Force the filesystem to fill the new partition
resize2fs -f /dev/sda2
#Reboot to ensure everything resized properly
reboot

View File

@ -80,7 +80,7 @@ create_image PrawnOS-Alpha-c201-libre-2GB.img $outdev 50M 40 $outmnt
# install Debian on it # install Debian on it
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive
qemu-debootstrap --arch armhf stretch --include locales,init --keyring=$build_resources/debian-archive-keyring.gpg $outmnt http://deb.debian.org/debian qemu-debootstrap --arch armhf stretch --include locales,init --keyring=$build_resources/debian-archive-keyring.gpg $outmnt http://ftp.us.debian.org/debian
chroot $outmnt passwd -d root chroot $outmnt passwd -d root
@ -102,7 +102,7 @@ chroot $outmnt locale-gen
#Install the base packages #Install the base packages
chroot $outmnt apt update chroot $outmnt apt update
chroot $outmnt apt install -y initscripts udev kmod net-tools inetutils-ping traceroute iproute2 isc-dhcp-client wpasupplicant iw alsa-utils cgpt vim-tiny less psmisc netcat-openbsd ca-certificates bzip2 xz-utils ifupdown nano apt-utils git kpartx chroot $outmnt apt install -y initscripts udev kmod net-tools inetutils-ping traceroute iproute2 isc-dhcp-client wpasupplicant iw alsa-utils cgpt vim-tiny less psmisc netcat-openbsd ca-certificates bzip2 xz-utils ifupdown nano apt-utils git kpartx gdisk parted
#Cleanup to reduce install size #Cleanup to reduce install size
chroot $outmnt apt-get autoremove --purge chroot $outmnt apt-get autoremove --purge