boot

i am unable to boot with my latest rpi-3.18.0 kernel and enabling the device tree?

和自甴很熟 提交于 2019-12-06 15:26:29
I am working on the latest rpi kernel ie 3.18.0 and by enabling the device tree. I compiled the source code and with that image and modules i am unable to boot. I am getting a blank screen and its not booting. I added the following into the config.txt even though i am unable to boot device_tree=bcm2708-rpi-b.dtb device_tree_address=0x100 kernel_address=0x8000 disable_commandline_tags=2 But with the image and modules that are given in the link https://github.com/raspberrypi/firmware/tree/next , it is booting well with the same config.txt file and i also using the firmware that are from the link

使用idea创建springboot项目

我的梦境 提交于 2019-12-06 15:25:01
1.为什么要使用springboot springboot的框架优点:以下摘自spring官网对springboot的介绍; https://spring.io/projects/spring-boot Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration. 使用Spring Boot可以很容易的创建独立的,基于生产级别的基于Spring的应用程序,可以直接运行它。 我们可以很容易的使用它集成第三方的依赖,减少了不必要的麻烦。大多数Spring Boot应用程序只需要很少的Spring配置。 Features(特点) Create stand-alone Spring applications 创建独立的Spring应用程序 Embed

Beaglebone Boot to Qt App

柔情痞子 提交于 2019-12-06 15:21:00
I have searched & googled a lot but I cannot get this to work. I want the Beaglebone to boot up into my Qt application. However, what I get is that the GUI boots up OK but then in a few seconds the Angstrom login screen overwrites my GUI, which stays running in the background. I set up a systemd service as follows in /etc/systemd/system: #!/bin/sh [Unit] Description=Meta Systemd script [Service] USER=root WorkingDirectory=/home/root ExecStart=/bin/sh -c 'source /etc/profile ; /home/root/meta6 -qws' After=local-fs.target Type=oneshot RemainAfterExit=yes [Install] WantedBy=multi-user.target I

start my service on phone restart in android

心已入冬 提交于 2019-12-06 15:03:01
问题 I am making app which tracks user location continuously, so far i have been able to make a successful receiving of its ordinate on location change, but if he is restarting the phone than i am not able to start my service without user again opening the app. Manifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.aa.gpsdemo" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="8"

Spring Boot缓存实战 EhCache

泪湿孤枕 提交于 2019-12-06 15:00:08
Spring boot默认使用的是SimpleCacheConfiguration,即使用ConcurrentMapCacheManager来实现缓存。但是要切换到其他缓存实现也很简单 pom文件 在pom中引入相应的jar包 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-dbcp2</artifactId> </dependency> <dependency> <groupId

Spring Boot 增强

家住魔仙堡 提交于 2019-12-06 14:35:43
1.1创建父项目 步骤一: 创建父项目 cloud_parent 步骤二: 修改pom.xml文件,确定spring boot版本 <!--确定spring boot的版本--> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.1.4.RELEASE</version> </parent> 1.2 profiles多环境配置 在开发中,项目会被部署到不同的运行环境中,如:测试环境、生产环境。Spring boot 允许配置多个yml文件(application-环境名.properties),并通过 spring.profiles.active=环境 来激活不同的环境。 步骤一: 1. 在 cloud_parent父项目 下创建 profiles_demo项目 2. pom.xml文件配置web启动器 <!--web起步依赖--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> 3. 创建启动类 步骤二:

windows10 +ubuntu双系统

社会主义新天地 提交于 2019-12-06 14:14:31
1,安装之前的准备: 制作启动盘 确定给ubuntu多少分区并且清理为free状态 确定电脑的开机引导方式,传统方式引号和uefi引导并不一样,因此我们需要根据引导方式选择新系统制作什么样的启动盘 在电脑的boot设置中把secure boot和fast boot (如果有的话)disable掉 boot option menu中选择u盘首选启动或者f12的时候选择u盘启动,看情况 2,安装ubuntu 跟着引导一步一步安装,到安装类型的时候,选择自定义,然后开始分区 注意,分区有两种模式: 以传统模式引导开机的,这样添加分区: 个人设置如下(逻辑分区): /boot 2g (ext4) swap(交换空间) 内存的2倍 12g(swap) / 用于存放安装包啥的,20g /home 用户自己的目录,剩余的都给它吧 以uefi引导的,这样添加分区: efi,建议512m(efi)用于启动 swap(交换空间) 内存的2倍 12g(swap) / 用于存放安装包啥的,20g /home 用户自己的目录,剩余的都给它吧 接下来选择启动盘的位置: uefi启动的,一定要选择efi的那个分区,一定一定,大小是512,切记切记 而传统方式启动的,一定选择的是/boot的那个启动盘,一定一定 3,第一次启动ubuntu 鉴于有些系统集显有的系统独显

springboot中maven加入本地jar

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-06 14:11:08
springboot中maven加入本地jar https://www.cnblogs.com/ll409546297/p/10342038.html springboot添加外部jar包及打包 https://www.cnblogs.com/bbthome/p/9230030.html spring boot 添加第三方jar 打包遇到的问题, https://blog.csdn.net/chenxidong9/article/details/79412585 spring boot引入外部jar包 https://www.cnblogs.com/anenyang/p/10057279.html Springboot 打包 外部jar system https://blog.csdn.net/weixin_33720452/article/details/92444606 来源: https://www.cnblogs.com/kelelipeng/p/11988637.html

spring boot使用图片上传功能(Faastdfs)

倖福魔咒の 提交于 2019-12-06 14:11:06
传统文件上传 1.spring boot没有WEB-INF文件不支持编译图片 2.后台调用和前台调用不好处理如果前台从数据库中查询的话我们存入的是字符串所以我们不能直接拿到图片 spring boot文件上传 Fastdfs 在spring boot中我们使用fastdfs来上传文件 来源: https://www.cnblogs.com/xiaoruirui/p/11988640.html

(023)Spring Boot之修改内嵌tomcat的3种方式

主宰稳场 提交于 2019-12-06 13:13:12
  springboot内嵌了tomcat容器,可以通过3中方式来修改tomcat。 (1)修改application.properties文件中属性,比如: server.port=8081 server.address=127.0.0.1 server.tomcat.accesslog.enabled=true server.tomcat.accesslog.directory=d\:/springboot/logs   端口:8081   绑定IP:上面的配置只能在浏览器输入localhost:8081或者127.0.0.1访问   启动tomcat的访问日志   tomcat访问日志的路径:D:\springboot\logs\access_log.2019-12-05.log,(2019-12-05是运行时间)   其他配置可以看源码:org.springframework.boot.autoconfigure.web.ServerProperties (2)实现WebServerFactoryCustomizer接口,并装配到spring容器中,如下:   pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi=