Lubuntu

Latest kernel 3.16.0-rc7..

20 12037
a1d3s  
https://github.com/a1d3s/linux/b ... gs/banana_defconfig
here my kernel config, maybe u have to add some raid driver or so

tkaiser  
Just FYI: Using Igor's build system you get a working image with the most recent kernel (tried it with 3.19.0-rc5) and a completely transparent build process (tweaking u-boot and kernel config easily possible) as well:

https://github.com/igorpecovnik/ ... lob/master/build.sh
https://github.com/igorpecovnik/lib

You just have to define BRANCH="next" in build.sh and you're done. The results look promising: http://forum.lemaker.org/forum.p ... 7&fromuid=33332

tkaiser  
Edited by tkaiser at Thu Jan 22, 2015 11:26

And I forgot to mention: You will also end up with a separate archive with u-boot+spl (usable with dd) and a tar archive containing 3 deb files that can be easily installed via "dpkg -R -i" in output/output/kernel. I used this to upgrade Igor's Jessie image (kernel 3.19.0-rc4) to 3.19.0-rc5 with optimized settings:
  1. CONFIG_SCHED_MC=y
  2. CONFIG_SCHED_SMT=y
Copy the Code
Worked like a charm and should also work within Lubuntu when your installation is ready for mainline.

TooMeeK  
Edited by TooMeeK at Tue Feb 3, 2015 22:05

Some time later..

1. U-boot used: v2015.04-rc1
http://git.denx.de/?p=u-boot.git ... dffa8dcb57a8;sf=tgz
Compilation:
make -j4 Bananapi_config CROSS_COMPILE=arm-linux-gnueabihf-
make -j4 CROSS_COMPILE=arm-linux-gnueabihf-

Result is: u-boot-sunxi-with-spl.bin

2. Kernel - mainline
wget -c https://www.kernel.org/pub/linux ... nux-3.19-rc7.tar.xz
cd linux-3.19-rc7
cp ../banana_defconfig .config
ARCH=arm make -j4 CROSS_COMPILE=arm-linux-gnueabihf- menuconfig

Config - from the thread + fix:
CONFIG_SCHED_MC=y
CONFIG_SCHED_SMT=y

Config add:
in System Type -> Support for the Large Physical Address Extension
in Virtualization -> Kernel-based Virtual Machine (KVM) support
Save
ARCH=arm make -j4 CROSS_COMPILE=arm-linux-gnueabihf- kernel kernel_modules

Ending in:
error: #error Your compiler is too buggy; it is known to miscompile kernels
arm-linux-gnueabihf-gcc --version
arm-linux-gnueabihf-gcc (Ubuntu/Linaro 4.8.2-16ubuntu4) 4.8.2

So upgraded to:
/usr/bin/arm-linux-gnueabihf-gcc --version
arm-linux-gnueabihf-gcc (Ubuntu/Linaro 4.9.1-16ubuntu6) 4.9.1

via new entry in /etc/apt/sources.list
deb http://cz.archive.ubuntu.com/ubuntu utopic main
and:
sudo ln -s /usr/bin/arm-linux-gnueabihf-gcc-4.9 /usr/bin/arm-linux-gnueabihf-gcc
which fixed too buggy error.

Compilation again:
ARCH=arm LOADADDR=0x40008000 CROSS_COMPILE=arm-linux-gnueabihf- make -j4 uImage modules dtbs
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=MOD_OUTPUT make -j4 modules_install
cp arch/arm/boot/uImage ../gotowe/
tar -cvf ../gotowe/modules-for-kernel.tar MOD_OUTPUT/*


Putting everything together:
http://wiki.lemaker.org/Setting_up_the_bootable_SD_card
SD card:
sudo dd if=/dev/sdd of=backup_10M.img bs=1M count=10
sudo dd if=/dev/zero of=/dev/sdd bs=1k count=1023 seek=1
sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/sdd bs=1024 seek=8
sync


My output now is:
file uImage
uImage: u-boot legacy uImage, Linux-3.19.0-rc7-TooMeeK, Linux/ARM, OS Kernel Image (Not compressed), 4547312 bytes, Wed Feb  4 03:34:08 2015, Load Address: 0x40008000, Entry Point: 0x40008000, Header CRC: 0x3FE35799, Data CRC: 0x6B3C14B6
boot.cmd -> boot.scr
setenv bootargs console=ttyS0,115200 sunxi_g2d_mem_reserve=0 sunxi_ve_mem_reserve=0 sunxi_no_mali_mem_reserve root=/dev/sda2 rootwait panic=10 ${extra}
fatload mmc 0 0x46000000 uImage
fatload mmc 0 0x49000000 sun7i-a20-bananapi.dtb
env set fdt_high ffffffff
bootm 0x46000000 - 0x49000000


U-Boot SPL 2015.04-rc1 (Feb 03 2015 - 18:57:13)
DRAM: 1024 MiB
CPU: 960000000Hz, AXI/AHB/APB: 3/2/2



U-Boot 2015.04-rc1 (Feb 03 2015 - 18:57:13) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
I2C:   ready
DRAM:  1015 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

Reserved 9216kB of RAM for Framebuffer.
In:    serial
Out:   serial
Err:   serial
SCSI:  SUNXI SCSI INIT
Target spinup took 0 ms.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst
Net:   dwmac.1c50000
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
USB1:   USB EHCI 1.00
scanning bus 1 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  2  1  0
switch to partitions #0, OK
mmc0 is current device
Unknown command 'part' - try 'help'
scanning bus for devices...
  Device 0: (0:0) Vendor: ATA Prod.: ST9500420ASG Rev: 0002
            Type: Hard Disk
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
Found 1 device(s).

SCSI device 0:
    Device 0: (0:0) Vendor: ATA Prod.: ST9500420ASG Rev: 0002
            Type: Hard Disk
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
... is now current device
Unknown command 'part' - try 'help'

USB device 0: unknown device
dwmac.1c50000 Waiting for PHY auto negotiation to complete....... done
Speed: 1000, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5

tkaiser  
TooMeeK replied at Tue Feb 3, 2015 14:03
Some time later..

1. U-boot used: v2015.04-rc1

I've the same problem with a recent u-boot version from there when playing around with my new pcDuino3 nano resulting in the very same message:
  1. Unknown command 'part' - try 'help'
Copy the Code
Seems like they changed the syntax and it should read 'mmc part' instead. Anyway... have you tried to use Robert Nelson's u-boot instead? https://github.com/RobertCNelson/u-boot

tkaiser  
Update: Robert C Nelsons u-boot seems to be also broken (on sunxi) unless you choose older commits or wait until it's fixed: http://www.igorpecovnik.com/2014/09/07/banana-pi-debian-sd-image/

igorpec  
Yes and it's still broken. Maybe I should implement some safety switch to the script to prevent such problems. Anyway. Knowing where the problem is is also nice

I am doing some hack on the fly that it's possible to boot old kernels with mainline:
## patch mainline uboot configuration to boot with old kernels

echo "CONFIG_ARMV7_BOOT_SEC_DEFAULT=y" >> $DEST/$BOOTSOURCE/.config
echo "CONFIG_ARMV7_BOOT_SEC_DEFAULT=y" >> $DEST/$BOOTSOURCE/spl/.config
echo "CONFIG_OLD_SUNXI_KERNEL_COMPAT=y" >> $DEST/$BOOTSOURCE/.config
echo "CONFIG_OLD_SUNXI_KERNEL_COMPAT=y"        >> $DEST/$BOOTSOURCE/spl/.config       

But since also the mainline kernel has troubles this is probably not related.

a1d3s  
use uboot from git://git.denx.de/u-boot
then make Bananapi_defconfig or if it is a pro then Bananapro_defconfig

Note: The author has been banned or deleted.

wty123  
nfl bills jerseys, jordans, mbt shoes, indiana pacers jerseys, ralph lauren outlet, wholesale handbags, burberry handbags, ralph lauren factory store, versace clothes, nfl steelers jerseys, doudoune north face, air yeezy, michael kors outlet online, tommy hilfiger outlet stores, juicy couture handbags, nike shoes, louboutin, michael kors outlet, nike store, beats by dr dre, michael kors outlet online sale, nike outlet, nfl giants jerseys, adidas shoes, michael kors handbags, eyeglasses frames, burberry outlet online, nike factory, michael kors bags, oakley sunglasses outlet, jordan retro, burberry, skechers shoes outlet, veneta, uhren shop, nike roshe run, adidas online shop, new balance shoes, coach outlet online, puma online shop, polo ralph lauren, nike roshe run, michael kors, mcm handbags, michael kors outlet, burberry outlet online, swarovski crystal, swarovski, nfl lions jerseys, nfl broncos jerseys, nfl chargers jerseys, woolrich clearance, easton bats, ray ban wayfarer, nfl ravens jerseys, mlb jerseys, oakley sunglasses, ray ban, asics gel, nike shoes, cheap oakley, phoenix suns jerseys, boutique clothing, nuggets jersey, prada handbags, michael kors handbags, burberry outlet, barbour jackets outlet, chrome hearts clothings, huarache, longchamp, timberland outlet, beats by dre headphones, montre femme, vans, coach factory outlet, louboutin shoes, oakley sunglasses, nike, jimmy choo outlet, purses and handbags, long champ, coach outlet store, swarovski canada, toronto raptors jerseys, michaelkors.com, hermes tracksuits, air max 90, juicy couture clothings, sacramento kings jerseys, nike air max, converse sneakers, nfl azcardinals jerseys, burberry outlet online, hornets jersey, nfl falcons jerseys, timberland shoes, hogan, coach factory outlet, rolex watches, pumas, ralph lauren polo, pandora charms, swarovski crystal, ralph lauren outlet online, new york knicks jersey, air max thea, ralph lauren, new balance, adidas, air force, versace, stone island jackets, celine outlet, michael kors, nike, nike factory outlet, reebok, giuseppe zanotti sneakers, dsquared2 sale, air max 2007, longchamp, polo ralph lauren outlet, air max, wholesale handbags, fidget spinner, nfl dolphins jerseys, instyler, birkenstock, ferragamo, nike free, mizuno, burberry outlet, fred perry, ferragamo shoes, nfl saints jerseys, givenchy, birkenstock taschen deutschland, nfl colts jerseys, fred perry polos, adidas, salomon, burberry handbags, longchamp outlet, the north face outlet, adidas clothings, oakley holbrook,

You have to log in before you can reply Login | Sign Up

Points Rules